Introduction
The "Web of Linked Data" has evolved into a massive, decentralized collection of datasets, such as DBpedia, YAGO, and Wikidata, interconnected by hyperlinks. To navigate these complex relationships, developers rely on SPARQL property paths, a feature introduced in SPARQL 1.1 that allows queries to follow chains of properties (e.g., finding all actors connected to a specific individual through any number of co-starring roles). However, executing these navigational queries across a decentralized environment presents significant technical hurdles.
The Challenge of Decentralized Navigation
While SPARQL property paths are powerful, they were primarily designed for single, local graph databases. In the open-world context of the Web, data is scattered across multiple servers. Standard execution models often fail because remote servers time out, local copies are prohibitively expensive to maintain, and simple link-following (dereferencing) often misses "incoming" links that point back to a resource. This paper investigates how to effectively execute these paths across the decentralized Web of Linked Data.
Evaluated Strategies
The authors implemented and compared four primary approaches to determine their viability in real-world scenarios:
- Through Endpoints: Sending the query directly to a dataset's public SPARQL interface.
- Local Copy: Downloading the relevant datasets and running the query on a local high-performance server.
- Live Querying (BFS): Starting at a known node and using a Breadth-First Search (BFS) to "crawl" the web by dereferencing IRIs (URLs) on the fly.
- Hybrid Approaches:
- Endpoints + Local: Using a
CONSTRUCTquery to pull necessary properties from an endpoint, then running the path query locally.
- Endpoints + Local: Using a
- Live Querying + Endpoints: Using BFS to crawl while simultaneously asking endpoints for "inverse links" (triples where the current node is the object) to overcome the limitations of standard web crawling.
Experimental Evaluation
The evaluation focused on three major "LOD cloud" datasets—YAGO, DBpedia, and Wikidata—using three specific queries: Q1 (Bacon numbers within a single dataset), Q2 (geographic relationships near Berlin), and Q3 (a complex cross-dataset query using owl:sameAs to bridge YAGO and DBpedia).
Key Results
The performance of public SPARQL endpoints proved to be a major bottleneck for complex navigational queries. As shown in Figure 1, most endpoints failed to complete the recursive paths required for Q1 due to memory or time limits.
While Q2 (the "sweet spot" with fewer intermediate results) ran almost instantaneously on YAGO and Wikidata, DBpedia's endpoint failed even on this simpler query, highlighting the inconsistency of public infrastructure.
In contrast, Live Querying showed remarkable efficiency. Running a BFS search over DBpedia for 1,000 answers took only 36 seconds and used just 77MB of memory—a lightweight alternative to maintaining a massive local copy. However, pure live querying on YAGO returned only the starting point because it lacked inverse links. The Hybrid Approach (Live Querying + Endpoints) successfully retrieved the same 1,000-answer limit in 101 seconds by specifically querying for those missing links.
Discussion: The Transitive Closure Trap
A primary finding is the "Transitive Closure Trap." Public SPARQL endpoints almost always fail on queries involving recursive paths (the "*" operator) for large datasets. They hit memory limits (often 1GB) because calculating every possible connection is computationally expensive. Furthermore, dereferencing IRIs creates an "Inverse Link Blind Spot," where only outgoing links are visible. This makes standard BFS crawling incomplete for property paths that require traversing the graph in reverse.
Conclusion and Future Work
No single approach is perfect, but hybrid methods combining live crawling with targeted endpoint lookups offer the most promising path forward for complex, multi-dataset navigation. While incompleteness remains a challenge in an open-world setting, these methods provide a feasible way to handle queries that span across the LOD cloud.
Future Directions: * Optimized Traversal: Moving toward automata-theoretic evaluation and heuristic-based searches (like A) to prioritize links and reduce network traffic. * Linked Data Fragments:* Exploring server-side technologies that offer a middle ground between static files and full SPARQL endpoints to improve reliability and performance.
Summary updated