Skip to main content

A knowledge integration framework based on Wikidata

Project description

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 notebooks in examples.

Testing

Install the test dependencies:

$ make install-deps

Run all tests:

$ make check

License

Released under the Apache-2.0 license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kif-lib-0.3.tar.gz (435.7 kB view hashes)

Uploaded Source

Built Distribution

kif_lib-0.3-py3-none-any.whl (416.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page