The tractability frontier of well-designed SPARQL queries
Abstract
We study the complexity of query evaluation of SPARQL queries. We focus on the fundamental fragment of well-designed SPARQL restricted to the AND, OPTIONAL and UNION operators. Our main result is a structural characterisation of the classes of well-designed queries that can be evaluated in polynomial time. In particular, we introduce a new notion of width called domination width, which relies on the well-known notion of treewidth. We show that, under some complexity theoretic assumptions, the classes of well-designed queries that can be evaluated in polynomial time are precisely those of bounded domination width.
- Publication:
-
arXiv e-prints
- Pub Date:
- December 2017
- DOI:
- 10.48550/arXiv.1712.08809
- arXiv:
- arXiv:1712.08809
- Bibcode:
- 2017arXiv171208809R
- Keywords:
-
- Computer Science - Databases;
- Computer Science - Data Structures and Algorithms;
- Computer Science - Logic in Computer Science;
- F.2.0;
- H.2.3