Unknown

Dataset Information

0

Complexity and Expressive Power of Weakly Well-Designed SPARQL.


ABSTRACT: SPARQL is the standard query language for RDF data. The distinctive feature of SPARQL is the OPTIONAL operator, which allows for partial answers when complete answers are not available due to lack of information. However, optional matching is computationally expensive-query answering is PSPACE-complete. The well-designed fragment of SPARQL achieves much better computational properties by restricting the use of optional matching-query answering becomes coNP-complete. On the downside, well-designed SPARQL captures far from all real-life queries-in fact, only about half of the queries over DBpedia that use OPTIONAL are well-designed. In the present paper, we study queries outside of well-designed SPARQL. We introduce the class of weakly well-designed queries that subsumes well-designed queries and includes most common meaningful non-well-designed queries: our analysis shows that the new fragment captures over 99% of DBpedia queries with OPTIONAL. At the same time, query answering for weakly well-designed SPARQL remains coNP-complete, and our fragment is in a certain sense maximal for this complexity. We show that the fragment's expressive power is strictly in-between well-designed and full SPARQL. Finally, we provide an intuitive normal form for weakly well-designed queries and study the complexity of containment and equivalence.

SUBMITTER: Kaminski M 

PROVIDER: S-EPMC6560828 | biostudies-literature | 2018

REPOSITORIES: biostudies-literature

altmetric image

Publications

Complexity and Expressive Power of Weakly Well-Designed SPARQL.

Kaminski Mark M   Kostylev Egor V EV  

Theory of computing systems 20170814 4


SPARQL is the standard query language for RDF data. The distinctive feature of SPARQL is the OPTIONAL operator, which allows for partial answers when complete answers are not available due to lack of information. However, optional matching is computationally expensive-query answering is PSPACE-complete. The well-designed fragment of SPARQL achieves much better computational properties by restricting the use of optional matching-query answering becomes coNP-complete. On the downside, well-designe  ...[more]

Similar Datasets

| S-EPMC4443684 | biostudies-literature
| S-EPMC8010299 | biostudies-literature
| S-EPMC4945418 | biostudies-literature
| S-EPMC7250599 | biostudies-literature
| S-EPMC4740865 | biostudies-other
| S-EPMC8538493 | biostudies-literature
| S-EPMC9356183 | biostudies-literature
| S-EPMC4783121 | biostudies-literature
| S-EPMC6851551 | biostudies-literature
| S-EPMC4624157 | biostudies-literature