A knowledge integration framework based on Wikidata
Project description
KIF — Knowledge Integration Framework
KIF is a knowledge integration framework from IBM Research. It is licensed under the Apache-2.0 license.
First time here? Check out the quickstart guide.
What? How?
KIF is a knowledge integration framework based on Wikidata.
-
Using KIF, one can easily combine heterogeneous knowledge sources into a virtual knowledge base. This behaves like an extended Wikidata and can be queried uniformly using a simple but expressive pattern language.
-
KIF leverages Wikidata's data model plus user-defined mappings to construct a unified view of the underlying knowledge sources while keeping track of the context and provenance of their statements.
-
KIF pattern language is based on Wikidata's data model and is embedded in Python—its constructs can be created and operated programmatically from within Python.
Hello world!
Prints an arbitrary statement from Wikidata:
from kif_lib import * # import KIF namespacee
kb = Store('wikidata') # create a store pointing to Wikidata
print(next(kb.filter())) # obtain and print one arbitrary statement
Installation
$ pip install kif-lib
Documentation
See documentation and examples.
Citation
Guilherme Lima, João M. B. Rodrigues, Marcelo Machado, Elton Soares, Sandro R. Fiorini, Raphael Thiago, Leonardo G. Azevedo, Viviane T. da Silva, Renato Cerqueira. "KIF: A Wikidata-Based Framework for Integrating Heterogeneous Knowledge Sources", arXiv:2403.10304, 2024.
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
Built Distribution
File details
Details for the file kif_lib-0.4.1.tar.gz
.
File metadata
- Download URL: kif_lib-0.4.1.tar.gz
- Upload date:
- Size: 367.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63d0b48f8919ec75a85629b8751b5c43addc99ca911f7d499eb731492b34f6a5 |
|
MD5 | cc77b05092e6b5f17d6595424c74f3b2 |
|
BLAKE2b-256 | 3b267c31ac4a62cf4a01ec9fdcaaf95bcc73517d594d1b56bc1c380a3b5b71b5 |
File details
Details for the file kif_lib-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: kif_lib-0.4.1-py3-none-any.whl
- Upload date:
- Size: 411.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f657e375ac4d94f03c23e06247192a7ce23b3de8b9ec9c81af1487469c70a170 |
|
MD5 | 26fe2522c234a10b02e3f231659786cb |
|
BLAKE2b-256 | e5b50964e292f9f910793dafe6487e7a87c15cbc81812b9eea2b972a9e576c37 |