Installation#
The tool requires Python 3.11, 3.12, or 3.13.
Install the package#
Clone the repository and install with uv:
git clone https://github.com/arcangelo7/knowledge-graphs-inversion.git
cd knowledge-graphs-inversion
uv sync
Dependencies#
The library pulls in a few things worth knowing about:
morph-kgc parses R2RML mapping documents into an internal representation the algorithm operates on.
pyoxigraph provides the local RDF store and SPARQL engine.
pandas handles tabular data throughout the pipeline.
SQLAlchemy manages database connections when writing output to SQL databases.