Skip to content
ebotoeva edited this page Mar 6, 2015 · 1 revision

OBDA and Q File Formats

-ontop- version 1.7 (build 1599) introduces a new OBDA and a new Query file formats. Before this version, the OBDA file contained both the OBDA model and saved queries. However, it has been decided to have the two things separate in the new -ontop- version.

Saving an OBDA project using Protégé will automatically create an .obda file storing the OBDA model (the data source and mapping declarations), and a .q file storing the SPARQL queries. Both files are saved in the same folder location as the ontology and use the same name as the ontology does. For example, you have an existing OWL ontology file:

/documents/ontologies/myontology.owl

Then the OBDA and Query files will be stored and named as follows:

/documents/ontologies/myontology.obda
/documents/ontologies/myontology.q

When you load an ontology using Protégé, -ontopPro- will look for the corresponding OBDA and Query files, and will load all OBDA artifacts (i.e., datasource, mappings and queries) automatically.

For more information about the OBDA and Query file structures, please refer to these pages:

Clone this wiki locally