• Aucun résultat trouvé

Rewriting Queries with Negated Atoms

N/A
N/A
Protected

Academic year: 2022

Partager "Rewriting Queries with Negated Atoms"

Copied!
1
0
0

Texte intégral

(1)

Rewriting Queries with Negated Atoms

Enrique Matos Alfonso and Giorgos Stamou

National Technical University of Athens (NTUA) [email protected]

Abstract. The current paper have been accepted at the International Joint Con- ference on Rules and Reasoning (RuleML+RR 2017). We focus on Query rewrit- ing, a popular approach for ontology based data access and in general for first order rewritable knowledge bases. The algorithms defined in the field are based on conjunctive queries with no use of negation over the atoms that are part of them. Also, the constraints present in the knowledge base are ignored in the pro- cess of rewriting a query and they are only used to check the consistency of the data.

In this paper, we study the problem of answering queries that allow negated atoms. We developed a novel method to use classical rewriting techniques for answering conjunctive queries with negated atoms. For a given conjunctive query with some negated atoms, we propose an algorithm that finds a set of conjunc- tive queries with no negated atom that contain all the answers of the initial query with respect to the rules. The algorithm uses resolution with respect to the clauses corresponding to the query and the constraints of the system in order to produce rewritings of the initial query without negated atoms. Our approach uses a classi- cal rewriting algorithm as a black box and the constraints in the system to find the set of conjunctive queries without negated atoms that is equivalent to the original query containing negated atoms.

A system (COMPLETO) was implemented with the proposed method and com- pared to another system (REBSIR) that is able to rewrite negated concepts. In the experimental evaluation COMPLETOperformed better than REBSIRfor most of the datasets in the benchmark and it portrayed a more scalable performance i.e.

describing a faster relative performance with respect to REBSIR’s performance with the increase of the size of assertions in the dataset.

Références

Documents relatifs

Surprisingly, a very broad and well-studied set of queries appears to lie within this class: as shown in [Yan81] (see also [FFG02] for a precise bound), ACQ, the acyclic

So, depending on your triple store software, using a federated query that requests the protected triple store using its local location can result in an unchecked access through

[...] Where all, some or one of the manuscripts of the Kubjikāmata agree with the source text, that reading should be adopted as original, except where there may be independent

The aim of this research work, therefore, is the design and implementation of a classification system, which is able to separate relevant news from noise and which allows a

We use description logics to formalize the problem of query rewriting using views in presence of value constraints and show that the technique of query rewriting can be used to

We compare pairs of antonyms with distinct lexical roots and those derived by affixation, i.e., lexical and mor- phological antonyms (Joshi, 2012) (e.g., small - large and happy

For example, IQ-rewritability means rewritability of an OMQ from (ALCI, UCQ) into an OMQ from (ALCI , IQ) with the IQ formu- lated in ALCI, and PUBGP-rewritability means

For this reason, we develop new acyclicity conditions [1] that guarantee re- stricted chase termination of a TBox over any ABox, by extending known acyclicity notions to the