kif-lib


Namekif-lib JSON
Version 0.4.1 PyPI version JSON
download
home_pagehttps://github.com/IBM/kif
SummaryA knowledge integration framework based on Wikidata
upload_time2024-10-24 18:00:18
maintainerNone
docs_urlNone
authorIBM
requires_python>=3.9
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # KIF — Knowledge Integration Framework #

KIF is a knowledge integration framework from IBM Research.  It is licensed
under the [Apache-2.0 license](./LICENSE).

First time here? Check out the [quickstart
guide](https://ibm.github.io/kif/quickstart.html).

## What? How?

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

* 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](https://www.wikidata.org/wiki/Wikidata: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](https://www.wikidata.org/):

```python
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 ##

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

## Documentation ##

See [documentation](https://ibm.github.io/kif/) and [examples](./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"](https://arxiv.org/abs/2403.10304), arXiv:2403.10304,
2024.


## License ##

Released under the [Apache-2.0 license](./LICENSE).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/IBM/kif",
    "name": "kif-lib",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "IBM",
    "author_email": "Guilherme.Lima@ibm.com",
    "download_url": "https://files.pythonhosted.org/packages/3b/26/7c31ac4a62cf4a01ec9fdcaaf95bcc73517d594d1b56bc1c380a3b5b71b5/kif_lib-0.4.1.tar.gz",
    "platform": null,
    "description": "# KIF \u2014 Knowledge Integration Framework #\n\nKIF is a knowledge integration framework from IBM Research.  It is licensed\nunder the [Apache-2.0 license](./LICENSE).\n\nFirst time here? Check out the [quickstart\nguide](https://ibm.github.io/kif/quickstart.html).\n\n## What? How?\n\nKIF is a knowledge integration framework based on\n[Wikidata](https://www.wikidata.org/).\n\n* Using KIF, one can easily combine heterogeneous knowledge sources into a\n  *virtual knowledge base*.  This behaves like an extended Wikidata and can\n  be queried uniformly using a simple but expressive *pattern language*.\n\n* KIF leverages [Wikidata's data\n  model](https://www.wikidata.org/wiki/Wikidata:Data_model) plus\n  user-defined mappings to construct a unified view of the underlying\n  knowledge sources while keeping track of the context and provenance of\n  their statements.\n\n* KIF pattern language is based on Wikidata's data model and is embedded in\n  Python\u2014its constructs can be created and operated programmatically from\n  within Python.\n\n### Hello world! ###\n\nPrints an arbitrary statement from [Wikidata](https://www.wikidata.org/):\n\n```python\nfrom kif_lib import *      # import KIF namespacee\nkb = Store('wikidata')     # create a store pointing to Wikidata\nprint(next(kb.filter()))   # obtain and print one arbitrary statement\n```\n\n## Installation ##\n\n```shell\n$ pip install kif-lib\n```\n\n## Documentation ##\n\nSee [documentation](https://ibm.github.io/kif/) and [examples](./examples).\n\n\n## Citation ##\n\nGuilherme Lima, Jo\u00e3o M. B. Rodrigues, Marcelo Machado, Elton Soares, Sandro\nR. Fiorini, Raphael Thiago, Leonardo G. Azevedo, Viviane T. da Silva, Renato\nCerqueira. [\"KIF: A Wikidata-Based Framework for Integrating Heterogeneous\nKnowledge Sources\"](https://arxiv.org/abs/2403.10304), arXiv:2403.10304,\n2024.\n\n\n## License ##\n\nReleased under the [Apache-2.0 license](./LICENSE).\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "A knowledge integration framework based on Wikidata",
    "version": "0.4.1",
    "project_urls": {
        "Homepage": "https://github.com/IBM/kif"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e5b50964e292f9f910793dafe6487e7a87c15cbc81812b9eea2b972a9e576c37",
                "md5": "26fe2522c234a10b02e3f231659786cb",
                "sha256": "f657e375ac4d94f03c23e06247192a7ce23b3de8b9ec9c81af1487469c70a170"
            },
            "downloads": -1,
            "filename": "kif_lib-0.4.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "26fe2522c234a10b02e3f231659786cb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 411181,
            "upload_time": "2024-10-24T18:00:15",
            "upload_time_iso_8601": "2024-10-24T18:00:15.423968Z",
            "url": "https://files.pythonhosted.org/packages/e5/b5/0964e292f9f910793dafe6487e7a87c15cbc81812b9eea2b972a9e576c37/kif_lib-0.4.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3b267c31ac4a62cf4a01ec9fdcaaf95bcc73517d594d1b56bc1c380a3b5b71b5",
                "md5": "cc77b05092e6b5f17d6595424c74f3b2",
                "sha256": "63d0b48f8919ec75a85629b8751b5c43addc99ca911f7d499eb731492b34f6a5"
            },
            "downloads": -1,
            "filename": "kif_lib-0.4.1.tar.gz",
            "has_sig": false,
            "md5_digest": "cc77b05092e6b5f17d6595424c74f3b2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 367950,
            "upload_time": "2024-10-24T18:00:18",
            "upload_time_iso_8601": "2024-10-24T18:00:18.196539Z",
            "url": "https://files.pythonhosted.org/packages/3b/26/7c31ac4a62cf4a01ec9fdcaaf95bcc73517d594d1b56bc1c380a3b5b71b5/kif_lib-0.4.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-24 18:00:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "IBM",
    "github_project": "kif",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": false,
    "tox": true,
    "lcname": "kif-lib"
}
        
IBM
Elapsed time: 0.60327s