Skip to content

IBM/kif

Repository files navigation

Knowledge Integration Framework

A knowledge integration framework based on Wikidata.

Hello world!

Prints an arbitrary statement from Wikidata:

from kif_lib import Store
kb = Store('sparql', 'https://query.wikidata.org/sparql')
print(next(kb.filter()))

Installation

$ pip install kif-lib

Or, for the development version:

$ git clone https://github.com/IBM/kif.git
$ cd kif
$ pip install -e .

Documentation

See the API documentation and examples.

Testing

Install the test dependencies:

$ make install-deps

Run all tests:

$ make check

License

Released under the Apache-2.0 license.