Nested Regular Path Queries in Description Logics

02/28/2014
by   Meghyn Bienvenu, et al.
0

Two-way regular path queries (2RPQs) have received increased attention recently due to their ability to relate pairs of objects by flexibly navigating graph-structured data. They are present in property paths in SPARQL 1.1, the new standard RDF query language, and in the XML query language XPath. In line with XPath, we consider the extension of 2RPQs with nesting, which allows one to require that objects along a path satisfy complex conditions, in turn expressed through (nested) 2RPQs. We study the computational complexity of answering nested 2RPQs and conjunctions thereof (CN2RPQs) in the presence of domain knowledge expressed in description logics (DLs). We establish tight complexity bounds in data and combined complexity for a variety of DLs, ranging from lightweight DLs (DL-Lite, EL) up to highly expressive ones. Interestingly, we are able to show that adding nesting to (C)2RPQs does not affect worst-case data complexity of query answering for any of the considered DLs. However, in the case of lightweight DLs, adding nesting to 2RPQs leads to a surprising jump in combined complexity, from P-complete to Exp-complete.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/31/2011

Conjunctive Query Answering for the Description Logic SHIQ

Conjunctive queries play an important role as an expressive query langua...
research
08/05/2022

Jumping Evaluation of Nested Regular Path Queries

Nested regular path queries are used for querying graph databases and RD...
research
11/19/2020

First Order-Rewritability and Containment of Conjunctive Queries in Horn Description Logics

We study FO-rewritability of conjunctive queries in the presence of onto...
research
11/17/2020

Answering Regular Path Queries Over SQ Ontologies

We study query answering in the description logic 𝒮𝒬 supporting qualifie...
research
08/09/2018

Finite Query Answering in Expressive Description Logics with Transitive Roles

We study the problem of finite ontology mediated query answering (FOMQA)...
research
06/03/2020

An ExpTime Upper Bound for 𝒜ℒ𝒞 with Integers (Extended Version)

Concrete domains, especially those that allow to compare features with n...
research
06/29/2021

The Price of Selfishness: Conjunctive Query Entailment for ALCSelf is 2ExpTime-hard

In logic-based knowledge representation, query answering has essentially...

Please sign up or login with your details

Forgot password? Click here to reset