Goal-Driven Query Answering over First- and Second-Order Dependencies with Equality
Tsamoura, Efthymia, Motik, Boris
–arXiv.org Artificial Intelligence
Query answering over data with dependencies plays a central role in most applications of dependencies. The problem is commonly solved by using a suitable variant of the chase algorithm to compute a universal model of the dependencies and the data and thus explicate all knowledge implicit in the dependencies. After this preprocessing step, an arbitrary conjunctive query over the dependencies and the data can be answered by evaluating it the computed universal model. If, however, the query to be answered is fixed and known in advance, computing the universal model is often inefficient as many inferences made during this process can be irrelevant to a given query. In such cases, a goal-driven approach, which avoids drawing unnecessary inferences, promises to be more efficient and thus preferable in practice. In this paper we present what we believe to be the first technique for goal-driven query answering over first- and second-order dependencies with equality reasoning. Our technique transforms the input dependencies so that applying the chase to the output avoids many inferences that are irrelevant to the query. The transformation proceeds in several steps, which comprise the following three novel techniques. First, we present a variant of the singularisation technique by Marnette [60] that is applicable to second-order dependencies and that corrects an incompleteness of a related formulation by ten Cate et al. [74]. Second, we present a relevance analysis technique that can eliminate from the input dependencies that provably do not contribute to query answers. Third, we present a variant of the magic sets algorithm [19] that can handle second-order dependencies with equality reasoning. We also present the results of an extensive empirical evaluation, which show that goal-driven query answering can be orders of magnitude faster than computing the full universal model.
arXiv.org Artificial Intelligence
Dec-12-2024
- Country:
- Asia
- Middle East > Israel (0.04)
- South Korea > Seoul
- Seoul (0.04)
- Europe
- Italy > Trentino-Alto Adige/Südtirol
- Trentino Province > Trento (0.04)
- Ireland > Connaught
- County Galway > Galway (0.04)
- Spain > Catalonia
- Barcelona Province > Barcelona (0.04)
- Slovenia > Drava
- Municipality of Benedikt > Benedikt (0.04)
- United Kingdom > England
- Cambridgeshire > Cambridge (0.13)
- Oxfordshire > Oxford (0.13)
- Denmark > Capital Region
- Copenhagen (0.04)
- Germany
- Brandenburg > Potsdam (0.04)
- North Rhine-Westphalia > Cologne Region
- Aachen (0.04)
- Austria > Vienna (0.13)
- Sweden > Stockholm
- Stockholm (0.04)
- Italy > Trentino-Alto Adige/Südtirol
- North America
- Canada
- British Columbia > Metro Vancouver Regional District
- Vancouver (0.04)
- Quebec > Capitale-Nationale Region
- Quebec City (0.04)
- Québec (0.04)
- British Columbia > Metro Vancouver Regional District
- Mexico (0.04)
- United States
- California
- Los Angeles County > Pasadena (0.04)
- Santa Clara County > San Jose (0.04)
- Illinois > Cook County
- Chicago (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Massachusetts
- Middlesex County > Cambridge (0.04)
- Suffolk County > Boston (0.04)
- Rhode Island > Providence County
- Providence (0.04)
- Texas > Travis County
- Austin (0.04)
- Wisconsin > Dane County
- Madison (0.04)
- California
- Canada
- Oceania > Australia
- New South Wales > Sydney (0.04)
- South America > Argentina
- Pampas > Buenos Aires F.D. > Buenos Aires (0.04)
- Asia
- Genre:
- Research Report
- New Finding (0.45)
- Promising Solution (0.34)
- Workflow (1.00)
- Research Report
- Technology: