Skip to content

This project uses logica to interact with ontologies.

License

Notifications You must be signed in to change notification settings

wdduncan/onto-logica

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

This project uses logica to interact with ontologies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published