Installation
The tool requires Python 3.11, 3.12, or 3.13.
Installation
Section titled “Installation”Clone the repository and install with uv:
git clone https://github.com/arcangelo7/knowledge-graphs-inversion.gitcd knowledge-graphs-inversionuv syncConformance tests and benchmarks also require Docker for the PostgreSQL databases, and the git submodules:
git submodule update --init --recursiveDependencies
Section titled “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 in-memory RDF store and SPARQL engine for local graph queries.
- pandas handles tabular data throughout the pipeline.
- SQLAlchemy manages database connections when writing output to SQL databases.