Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.03 KB

README.md

File metadata and controls

21 lines (16 loc) · 1.03 KB

onto-logica

This project uses logica to interacts with ontologies. Logica is an open source declarative logic programming language for data manipulation. It transforms datalog queries into SQL queries that are executed against a data source.

Data source supported include:

  • SQLite
  • DuckDB
  • Pandas dataframes

The project uses poetry to manage dependencies. However, a requirements.txt file is also provided.

Test data

Test data is provided using a simple dental material ontology.
Two SQLite databases are created using the ontology:

  • data/ental-material.db built using rdftab
  • data/dental_material_ontology.db built using semsql

Details on how to build the databases are provide in data/READMe.md.

Jupyter Lab

Jupyter can be run in poetry environment using the command:

  • poetry run jupyter lab --autoreload (the --autoreload is optional)