nifconverter
Build Status Coverage Status PyPI version
Utility to translate NIF files across identifier schemes, for instance between DBpedia and Wikidata.
It can be used both as a Python library or as a CLI utility.
Install it with pip install nifconverter.
Example invocation:
nifconverter -i my_dbpedia_nif_file.ttl -o my_wikidata_nif_file.ttl
By default we use the DBpedia SameThing service to convert URIs. It is also possible to query the DBpedia SPARQL endpoint instead using the --converter parameter:
nifconverter --converter FromDBpediaSparqlConverter -i my_dbpedia_nif_file.ttl -o my_wikidata_nif_file.ttl
The target URI space to convert to can be changed with the --target option:
nifconverter --target https://en.wikipedia.org/wiki/ -i my_wikidata_nif_file.ttl -o my_wikipedia_nif_file.ttl
Release files for nifconverter 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nifconverter-0.2.2.tar.gz | 9.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nifconverter-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.2 kB
Release files / nifconverter-0.2.2.tar.gz
| Download URL | nifconverter-0.2.2.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bfc6588a261b3e3a4018a3058bd18a2d70588803493f43168acdf67e9f5ca6b6
|
|
BLAKE2b-256 checksum How to use checksums |
c191a383c05d65f26e3f428417e6c53aeba4c3f8229c98c5beb9c15cdc1c8d74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2
|
Release files / nifconverter-0.2.2-py3-none-any.whl
| Download URL | nifconverter-0.2.2-py3-none-any.whl |
|---|---|
| Size | 15.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e6976aae49f7ba74254ee98f02361885cdb4043c426b2902652dbced50446001
|
|
BLAKE2b-256 checksum How to use checksums |
5ad747fdd0e727e3e8a2869b2af9de5e374c226b10529e31c68fdc3dd84eb617
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2
|