Query Evaluation and Optimization in the Semantic Web
Abstract
We address the problem of answering Web ontology queries efficiently. An ontology is formalized as a Deductive Ontology Base (DOB), a deductive database that comprises the ontology's inference axioms and facts. A cost-based query optimization technique for DOB is presented. A hybrid cost model is proposed to estimate the cost and cardinality of basic and inferred facts. Cardinality and cost of inferred facts are estimated using an adaptive sampling technique, while techniques of traditional relational cost models are used for estimating the cost of basic facts and conjunctive ontology queries. Finally, we implement a dynamic-programming optimization algorithm to identify query evaluation plans that minimize the number of intermediate inferred facts. We modeled a subset of the Web ontology language OWL Lite as a DOB, and performed an experimental study to analyze the predictive capacity of our cost model and the benefits of the query optimization technique. Our study has been conducted over synthetic and real-world OWL ontologies, and shows that the techniques are accurate and improve query performance. To appear in Theory and Practice of Logic Programming (TPLP).
- Publication:
-
arXiv e-prints
- Pub Date:
- November 2007
- DOI:
- 10.48550/arXiv.0711.2087
- arXiv:
- arXiv:0711.2087
- Bibcode:
- 2007arXiv0711.2087R
- Keywords:
-
- Computer Science - Databases;
- Computer Science - Logic in Computer Science;
- F.4.1;
- H.2.3;
- I.2.4
- E-Print:
- 18 pages, 8 figures, 7 tables. Presented at the ALPSWS2006 First International Workshop on Applications of Logic Programming in the Semantic Web and Semantic Web Services where it got a "Best Paper Award". To appear in Theory and Practice of Logic Programming (TPLP)