[Paper Review] Foundations of Traversal Based Query Execution over Linked Data (Extended Version)
This paper establishes the theoretical foundations for traversal-based query execution over Linked Data, introducing a formal semantics for conjunctive queries that dynamically discover data sources during execution. It proves that query computability is undecidable and that termination cannot be guaranteed, providing a formal basis for evaluating and optimizing such systems in the context of the potentially infinite Web of Data.
Query execution over the Web of Linked Data has attracted much attention recently. A particularly interesting approach is link traversal based query execution which proposes to integrate the traversal of data links into the construction of query results. Hence -in contrast to traditional query execution paradigms- this approach does not assume a fixed set of relevant data sources beforehand; instead, it discovers data on the fly and, thus, enables applications to tap the full potential of the Web. While several authors study possibilities to implement the idea of link traversal based query execution and to optimize query execution in this context, no work exists that discusses the theoretical foundations of the approach in general. Our paper fills this gap. We introduce a well-defined semantics for queries that may be executed using the link traversal based approach. Based on this semantics we formally analyze properties of such queries. In particular, we study the computability of queries as well as the implications of querying a potentially infinite Web of Linked Data. Our results show that query computation in general is not guaranteed to terminate and that for any given query it is undecidable whether the execution terminates. Furthermore, we define an abstract execution model that captures the integration of link traversal into the query execution process. Based on this model we prove the soundness and completeness of link traversal based query execution and analyze an existing implementation approach..
Motivation & Objective
- To address the lack of theoretical foundations for traversal-based query execution over the Web of Linked Data.
- To define a formal semantics for conjunctive queries that dynamically discover data sources via link traversal.
- To analyze fundamental properties such as computability and termination in the context of an unbounded, evolving data space.
- To establish an abstract execution model that ensures soundness and completeness of traversal-based query processing.
- To provide a formal basis for comparing implementations and guiding query optimization in dynamic Linked Data environments.
Proposed method
- Proposes a formal data model representing the Web of Linked Data as a graph of interconnected data sources with identifiers, predicates, and objects.
- Introduces a computation model that captures limited data access capabilities over the Web, reflecting real-world constraints.
- Defines a query model with a well-defined semantics where query results are valuations mapping variables to reachable data, based on specified traversal rules.
- Uses Turing machine encodings to formally represent data triples, valuations, and query results on computational tapes for theoretical analysis.
- Applies concepts from computability theory to analyze whether queries are finitely computable, eventually computable, or not computable at all.
- Develops an abstract execution model that integrates link traversal into query processing, proving soundness and completeness of the approach.
Experimental results
Research questions
- RQ1What is a formal semantics for conjunctive queries executed via dynamic link traversal over the Web of Linked Data?
- RQ2Under what conditions is a query computable when executed over a potentially infinite Web of Linked Data?
- RQ3Is it decidable whether a traversal-based query execution will terminate?
- RQ4How can the integration of link traversal into query execution be formally modeled to ensure correctness and completeness?
- RQ5What are the theoretical limits of query execution in dynamic, decentralized data environments?
Key findings
- Query execution over the Web of Linked Data is not guaranteed to terminate, as the system may traverse infinitely many data sources.
- It is undecidable whether a given query will produce a finite or infinite result when executed via traversal-based methods.
- The paper proves that queries in the proposed model are eventually computable, meaning results can be incrementally generated even if full computation never terminates.
- The abstract execution model ensures soundness and completeness, meaning all valid query answers are correctly produced and no invalid answers are generated.
- The theoretical framework enables formal verification of implementations and comparison of different traversal-based query execution strategies.
- The work establishes that traditional database assumptions—such as a fixed set of data sources—are invalid in the context of the dynamic, decentralized Web of Linked Data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.