Complexity and Expressive Power of Weakly Well-Designed SPARQL
Related Experiment Video
Updated: Jan 22, 2026

Characterization of Complex Systems Using the Design of Experiments Approach: Transient Protein Expression in Tobacco as a Case Study
Published on: January 31, 2014
Mark Kaminski1, Egor V Kostylev1
1Department of Computer Science, University of Oxford, Oxford, UK.
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.
More Related Videos
11:16Engineering Platform and Experimental Protocol for Design and Evaluation of a Neurally-controlled Powered Transfemoral Prosthesis
Published on: July 22, 2014
09:14Super-Resolution Microscopy of the Synaptonemal Complex Within the Caenorhabditis elegans Germline
Published on: September 13, 2022
Related Concept Videos
Complex Power
Complex power is defined as the multiplication of the voltage and the complex conjugate of the current. The magnitude of this power, known as apparent power, is measured in volt-amperes (VA). Notably, the angle of the complex power equates to the...
Weak Base Solutions
Weak Acid Solutions
Titration of a Weak Acid with a Weak Base
As a result, there is no simple...
Titration Calculations: Weak Acid - Strong Base
For the titration of 25.00 mL of 0.100 M CH3CO2H with 0.100 M NaOH, the reaction can be represented as:
Nuclear Power
Nuclear Fuels
Nuclear fuel consists of a fissile isotope, such as uranium-235, which must be present in sufficient quantity to provide a...