Abstract
Federated querying of Linked Data faces significant challenges in network overhead, join costs, and reasoning complexity. This paper presents a decentralized approach using distributed, pattern-based summaries of data sources. By performing a high-speed "dry run" on these compact summaries, the system can prune irrelevant sources and optimize joins locally. Experimental results on benchmarks like UOBM and FedBench demonstrate up to a 4x speedup over state-of-the-art engines, with summaries representing as little as 0.037% of the original data size.
Introduction
The Semantic Web, or Linked Data, comprises billions of facts distributed across a vast network of independent servers. Querying this data often requires "federated querying," where a single complex question (a conjunctive query) must pull information from multiple sources. However, traditional federation methods struggle with three primary hurdles: excessive network overhead from contacting irrelevant sources, the high cost of performing joins across the network, and the computational weight of logical reasoning required by modern ontologies (e.g., understanding that a "Professor" is also a "Person").
Existing solutions typically rely on centralized indexes or simplified schema extracts. These approaches often fail to scale effectively or lack the necessary detail to handle complex ontological reasoning. This paper introduces a novel decentralized method for querying distributed Linked Data by creating small, pattern-based summaries of data sources to optimize query execution.
Methodology: Distributed Summarization
The core of the proposed system is Distributed Summarization, which allows for efficient query planning without accessing the full dataset.
Local ABox Summaries
Each data source generates a "summary graph" of its local data. Instead of indexing every individual entity (e.g., "Alice" or "Bob"), the summary captures recurring patterns of relationships. If thousands of individuals share the same types of links, they are represented by a single node in the summary. This drastically reduces the index size while preserving the structural "shape" of the data.
Meaningful Global Hashing
To ensure that summaries from disparate sources can be merged and queried consistently, the authors employ a global hash function based on URI structures. This mechanism allows the system to identify which source "owns" a specific entity, ensuring that an entity appearing in multiple sources maps to the same summary node.
Query Relaxation and Join Elimination
When a query is received, it is "relaxed" to run against the summaries first. This acts as a high-speed "dry run" to identify which sources contain the patterns necessary to answer the query. Furthermore, the system utilizes Variable Locality-Based Join Elimination. By analyzing the summary, the system can determine if a specific relationship only involves individuals owned by a single source. If so, the join can be performed locally at that source, eliminating the need to transfer large amounts of data over the network.
Experimental Evaluation
The authors evaluated their approach using two major benchmarks: FedBench (specifically the LIFESCI and OPENDOM subsets) and the University Ontology Benchmark (UOBM). As shown in the table above, the summaries are remarkably compact. For the OPENDOM dataset, the summary size is a mere 0.037% of the original data size, demonstrating the extreme efficiency of the pattern-based approach.
Key Results and Discussion
The experimental results indicate that adding Summary-based Optimizations (SO) significantly enhances the performance of standard engines like FedX and Alibaba.
Performance Gains
On the UOBM30 dataset, the proposed method achieved a speedup of over 4x compared to the standard FedX engine (reducing average time from 114s to 25s). Notably, the Alibaba engine failed to complete the UOBM30 tests even after 2.5 days, whereas the summary-based approach finished in seconds or minutes.
Pruning and Scalability
The system's ability to "prune" irrelevant sub-queries is a major factor in its success. In experiments, approximately 13% of sub-queries were discarded after checking the summary, preventing wasted network bandwidth. Furthermore, as the number of sources increased (from UOBM5 to UOBM30), the performance gap between the summary-optimized method and existing engines widened, proving the approach's superior scalability.
Conclusion
This research demonstrates that the "shape" of data, captured through distributed summaries, is sufficient for sophisticated query optimization in the Semantic Web. By leveraging URI ownership and pattern-based summarization, the system transforms expensive network-wide operations into efficient local ones. While currently tailored for the DL-LiteR logic profile, future work aims to extend these techniques to more expressive ontology languages.
Summary updated