Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

A tool to convert NIF files across identifier schemes (DBpedia, Wikidata, ...)

Project description

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

Project details


Download files

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

Files for nifconverter, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size nifconverter-0.2.2-py3-none-any.whl (15.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size nifconverter-0.2.2.tar.gz (9.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page