Mastro is an Ontology-Based Data Access (OBDA) management system developed in JAVA. Ontologies in Mastro are specified through languages belonging to the DL-Lite family of lightweight Description Logics. The ontology is connected to external relational data management or data federation systems through a mapping establishing a semantic relation between SQL queries issued over the underlying databases and elements of the ontology. To access data, users can specify SPARQL queries over the ontology and make use of the query answering services provided by Mastro.

At the core of the system there is the reasoner which provides the following main functionalities:

  • Ontology classification
  • OBDA specification consistency check
  • Intensional reasoning services.
  • Query answering

The Mastro Data Source Manager enables interactions with the most popular DBMSs both commercial and non-commercial. Among the other, support is provided for Oracle, DB2, SQLServer, MySQL, Postgres.

Mastro is fully conform to the standard OWL2QL profile, which is based on the DL-Lite family.

DL-Lite or OWL2QL ontologies given as input to Mastro are parsed through the standard OWLAPI.