arenas-guerrero-julian / ITT

ITT: A general architecture for virtual knowledge graphs

Home Page:https://doi.org/10.5281/zenodo.11096736

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Intermediate Triple Table

DOI

ITT is a virtual knowledge graph system implementing the Intermediate Triple Table architecture. It allows to access heterogeneous data as a knowledge graph using the R2RML and RML mapping languages.

Installation ⚙️

To install ITT execute the following:

pip install git+https://github.com/arenas-guerrero-julian/itt.git

Execution 🚀

You can run ITT via command line:

python3 -m itt path/to/config.ini path/to/query.rq

The query result set is written to itt_result.csv.

The configuration file is similar to that of Morph-KGC:

[DataSource1]
mappings: /path/to/mapping/mapping_file.rml.ttl
db_url: mysql://username:password@host:port/database

ITT uses ConnectorX to access relational databases and the connection URLs must be formatted according to this engine. For Postgres the format is postgresql://username:password@host:port/database and for MySQL the format is mysql://username:password@host:port/database. See the details here.

For MongoDB the connection URL format is mongodb://localhost:27017/database. Example config file for MongoDB:

[DataSource1]
mappings: /path/to/mapping/mapping_file.rml.ttl
mongo_url: mongodb://localhost:27017/database

License 🔓

ITT is available under the Apache License 2.0.

Author & Contact 📬

Universidad Politécnica de Madrid.

About

ITT: A general architecture for virtual knowledge graphs

https://doi.org/10.5281/zenodo.11096736

License:Apache License 2.0


Languages

Language:Python 100.0%