Metadata-Version: 2.1
Name: kif-lib
Version: 0.4
Summary: A knowledge integration framework based on Wikidata
Home-page: https://github.com/IBM/kif
Author: IBM
Author-email: Guilherme.Lima@ibm.com
License: Apache-2.0
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: httpx
Requires-Dist: lark
Requires-Dist: more_itertools
Requires-Dist: networkx
Requires-Dist: rdflib
Requires-Dist: types-networkx
Requires-Dist: typing-extensions
Provides-Extra: docs
Requires-Dist: myst_parser; extra == "docs"
Requires-Dist: pydata_sphinx_theme; extra == "docs"
Provides-Extra: tests
Requires-Dist: flake8; extra == "tests"
Requires-Dist: isort; extra == "tests"
Requires-Dist: mypy; extra == "tests"
Requires-Dist: pylint; extra == "tests"
Requires-Dist: pyright; extra == "tests"
Requires-Dist: pytest; extra == "tests"
Requires-Dist: pytest-cov; extra == "tests"
Requires-Dist: pytest-mypy; extra == "tests"
Requires-Dist: setuptools; extra == "tests"
Requires-Dist: tox; extra == "tests"

# Knowledge Integration Framework #

A knowledge integration framework based on [Wikidata](https://www.wikidata.org/).

## Hello world! ##

Prints an arbitrary statement from [Wikidata](https://www.wikidata.org/):
```python
from kif_lib import Store
kb = Store('sparql', 'https://query.wikidata.org/sparql')
print(next(kb.filter()))
```

First time here? See the [quickstart guide](https://github.com/IBM/kif/tree/main/examples/quickstart.ipynb).

## Installation ##

```shell
$ pip install kif-lib
```

Or, for the development version:
```shell
$ git clone https://github.com/IBM/kif.git
$ cd kif
$ pip install -e .
```

## Documentation ##

See the [API documentation](https://ibm.github.io/kif/) and [examples](https://github.com/IBM/kif/tree/main/examples).

## Citation ##

[KIF: A Wikidata-Based Framework for Integrating Heterogeneous Knowledge Sources](https://arxiv.org/abs/2403.10304), arXiv, 2024.

## License ##

Released under the [Apache-2.0 license](https://github.com/IBM/kif/blob/main/LICENSE).
