-
Notifications
You must be signed in to change notification settings - Fork 4
Installing RDFLib for TTL JSON serializations
The first iteration of the framework used XSLT to transform the canonical RDF/XML data into the alternative serializations of Turtle and JSON-LD. This resulted in inconsistencies and errors. As a result, the transformation process has been migrated into the Orbeon execute-processor that calls the Python RDFLib library and its associated JSON-LD plugin in order to transform RDF/XML into a stable and standardized pattern.
These transformations require Python and the libraries can be installed by pip.
sudo apt-get install python3 python3-rdflib
If you are using a different distro that uses pip, then use pip to install RDFLib
sudo pip install rdflib
Following the completion of these steps, the TTL and JSON-LD serializations will be available. The JSON-LD libraries may be a separate installation in pip or other package managers, but they are integrated into the Canonical python3-rdflib.