Skip to main content
QUICK REVIEW

[Paper Review] Negation in SPARQL

Renzo Angles, Claudio Gutiérrez|arXiv (Cornell University)|Jan 1, 2016
Semantic Web and Ontologies3 references4 citations
TL;DR

This paper provides a comprehensive analysis of negation in SPARQL, identifying its types, evaluating their expressive power, and proposing a core SPARQL algebra as a more principled alternative to the W3C standard. It establishes formal criteria for assessing negation operators against set-theoretic axioms, revealing key inconsistencies and offering a foundation for improved query language design.

ABSTRACT

This paper presents a thorough study of negation in SPARQL. The types of negation supported in SPARQL are identified and their main features discussed. Then, we study the expressive power of the corresponding negation operators. At this point, we identify a core SPARQL algebra which could be used instead of the W3C SPARQL algebra. Finally, we analyze the negation operators in terms of their compliance with elementary axioms of set theory.

Motivation & Objective

  • To identify and categorize the types of negation supported in SPARQL.
  • To analyze the expressive power of SPARQL's negation operators in relation to formal logic and set theory.
  • To propose a core SPARQL algebra that better reflects the intended semantics of negation.
  • To evaluate how well SPARQL's negation operators comply with elementary axioms of set theory.
  • To provide a formal foundation for improving SPARQL's treatment of negation in future standards.

Proposed method

  • Systematic classification of SPARQL's negation mechanisms, including NOT EXISTS and MINUS.
  • Formalization of SPARQL algebra using set-theoretic operations to assess semantic behavior.
  • Definition of a core SPARQL algebra that isolates essential operators and simplifies reasoning.
  • Application of set-theoretic axioms (e.g., complementarity, distributivity) to test consistency of negation operators.
  • Comparison of W3C SPARQL algebra with the proposed core algebra to highlight discrepancies.
  • Formal proof techniques to evaluate whether negation operators satisfy logical and set-theoretic expectations.

Experimental results

Research questions

  • RQ1What types of negation are supported in SPARQL, and how do they differ in semantics?
  • RQ2How expressive are SPARQL's negation operators in capturing complex query patterns?
  • RQ3To what extent do SPARQL's negation operators conform to fundamental axioms of set theory?
  • RQ4Can a core SPARQL algebra be defined that better reflects the intended semantics of negation?
  • RQ5What are the formal limitations of the W3C SPARQL algebra in handling negation?

Key findings

  • SPARQL's NOT EXISTS and MINUS operators exhibit distinct semantic behaviors that are not always aligned with classical set-theoretic negation.
  • The W3C SPARQL algebra does not fully satisfy basic set-theoretic axioms, particularly in how it handles complementation and distribution.
  • A core SPARQL algebra can be defined that simplifies reasoning and improves consistency in negation handling.
  • The proposed core algebra provides a more principled foundation for implementing and optimizing SPARQL queries involving negation.
  • SPARQL's current treatment of negation leads to counterintuitive results in certain query patterns, indicating a need for formal revision.
  • Formal analysis reveals that MINUS is not equivalent to relational division or complementation in standard set-theoretic terms.

Better researchstarts right now

From reading papers to final review, dramatically reduce your research time.

No credit card · Free plan available

This review was created by AI and reviewed by human editors.