JOURNAL ARTICLE

Efficient Datalog Rewriting for Query Answering in TGD Ontologies

Zhe WangPeng XiaoKewen WangZhiqiang ZhuangHai Wan

Year: 2021 Journal:   IEEE Transactions on Knowledge and Data Engineering Pages: 1-1   Publisher: IEEE Computer Society

Abstract

Tuple-generating dependencies (TGDs or existential rules) are an expressive constraint language for ontology-mediated query answering and thus query answering is of high complexity. Existing systems based on first-order rewriting methods can lead to queries too large for DBMS to handle. It is shown that datalog rewriting can result in more compact queries, yet previously proposed datalog rewriting methods are mostly inefficient for implementation. In this paper, we fill the gap by proposing an efficient datalog rewriting approach for answering conjunctive queries over TGDs, and identify and combine existing fragments of TGDs for which our rewriting method terminates. We implemented a prototype system Drewer, and experiments show that it is able to handle a wide range of benchmarks in the literature. Moreover, Drewer shows superior performance over state-of-the-art systems on both the compactness of rewriting and the efficiency of query answering.

Keywords:
Datalog Rewriting Computer science Conjunctive query Tuple Programming language Ontology Theoretical computer science Database Information retrieval Relational database Mathematics Discrete mathematics

Metrics

2
Cited By
0.14
FWCI (Field Weighted Citation Impact)
43
Refs
0.55
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Semantic Web and Ontologies
Physical Sciences →  Computer Science →  Artificial Intelligence
Advanced Database Systems and Queries
Physical Sciences →  Computer Science →  Computer Networks and Communications
Data Management and Algorithms
Physical Sciences →  Computer Science →  Signal Processing

Related Documents

JOURNAL ARTICLE

Rewriting Minimizations for Efficient Query Answering over Ontologies

Tassos VenetisGiorgos StoilosVasilis Vassalos

Journal:   International Journal of Artificial Intelligence Tools Year: 2017 Vol: 26 (05)Pages: 1760024-1760024
JOURNAL ARTICLE

Datalog-based framework for efficient query answering over fuzzy ontologies

Afef BahriRafik BouazizFaı̈ez Gargouri

Journal:   International Journal of Metadata Semantics and Ontologies Year: 2013 Vol: 8 (3)Pages: 191-191
© 2026 ScienceGate Book Chapters — All rights reserved.