RDB2Onto: Approach for creating semantic metadata from relational database data Martin Šeleng, Michal Laclavík, Zoltán Balogh, Ladislav Hluchý Institute of Informatics, Slovak Academy of Sciences, Dúbravská cesta 9, Bratislava, Slovakia www: 9 th International Conference June 21-22, 2007 Bratislava, Slovakia This work is supported by projects NAZOU SPVV 1025/2004, RAPORT APVT , SEMCO-WS APVV , VEGA 2/7098/27.
Problem Building ontology based information systems, it is frequently necessary to convert or replicate data from existing information systems such as databases to the ontology based information systems Usually data in existing information systems are stored in a relational databases
Approaches Modeling languages D2R MAP R2O (not implemented yet) Tools D2RQ (using D2R MAP language) RDQUERY (using SPARQL or RDQL queries) RDB2Onto (using RDF/OWL XML templates and SQL queries)
Advantages and Disadvantages of the tools approaches Disadvantages RDQuery - uses RDQL and its successor SPARQL language which most users are not familiar D2RQ - uses own mapping language which users must learn but it is more intuitive than RDQL or SPARQL language (also automatic creation is possible by generate-mapping tool) RDB2Onto – uses template RDF/OWL XML files which structure users must learn Advantages Better than hand made copying
RDB2Onto Architecture
Example of RDB2Onto usage: sql query and template RDF/OWL XML file <rdf:RDF xmlns:jo=" xmlns:inst=" xmlns:c=" xmlns:ofr=" xmlns:rdf=" xmlns:owl=" xmlns:rdfs=" {download_date} {url} {original_doc_path} {converted_doc_path} SELECT id, url, original_doc_path, converted_doc_path, download_date, IF(lang = 'sk', 'Slovak', 'English') AS lang FROM document
Evaluation on 500 job offers RDQuery Execution Time [s] SPARQL Query Query Translation Mapping Process 1 Query D2RQ Execution Time [s] SQL Query Query Translation Mapping Process 1 Query RDB2Onto Execution Time [s] SQL Query Query Translation Mapping Process 1 Query
Thank You For Your Attention Questions?