A knowledge integration framework based on Wikidata.
Prints an arbitrary statement from Wikidata:
from kif_lib import Store
kb = Store('sparql', 'https://query.wikidata.org/sparql')
print(next(kb.filter()))
$ pip install kif-lib
Or, for the development version:
$ git clone https://github.com/IBM/kif.git
$ cd kif
$ pip install -e .
See the API documentation and examples.
Install the test dependencies:
$ make install-deps
Run all tests:
$ make check
Released under the Apache-2.0 license.