<div class="csl-bib-body">
<div class="csl-entry">Huber, L. (2026). <i>Efficient Enumeration of Property Paths in SPARQL Queries</i> [Diploma Thesis, Technische Universität Wien]. reposiTUm. https://doi.org/10.34726/hss.2026.145008</div>
</div>
-
dc.identifier.uri
https://doi.org/10.34726/hss.2026.145008
-
dc.identifier.uri
http://hdl.handle.net/20.500.12708/232126
-
dc.description
Arbeit an der Bibliothek noch nicht eingelangt - Daten nicht geprüft
-
dc.description
Abweichender Titel nach Übersetzung der Verfasserin/des Verfassers
-
dc.description.abstract
The Resource Description Framework (RDF) is a common data model for knowledge graphs, and SPARQL is its standard query language. One of SPARQL’s features is the property path, a form of regular path query that matches paths of arbitrary length between two resources. By design, such a query returns only the endpoint pair that a path connects, not the path itself. Apache Jena, the most widely used open-source SPARQL framework, is no exception, so a user cannot find out how two resources are linked. Returning the paths themselves would be useful in fields such as bioinformatics, supply chain tracking, and fraud detection, but it is hard, because the number of matching paths can grow exponentially with the size of the graph. This thesis investigates whether path retrieval can be made faster by anchoring the search at the labels that every match must use. Studying this needs an engine that returns paths in the first place, so we extend Apache Jena to return both a shortest matching path and all matching paths for a property path query. We implement a baseline algorithm that pairs the query with the data graph and searches the combined graph, and our own regex-splitting algorithm, which cuts the query at the mandatory labels, looks those edges up through an index, and replaces the single search by several small ones anchored at them. Both are integrated through Jena’s property function extension point and reuse its own graph storage. We then compare the two algorithms on synthetic graphs, varying graph size, density, and label rarity. For shortest-path queries, anchoring at a rare label reduces search work and runtime by about two orders of magnitude, and the gain grows with graph size and density. It is largest when no matching path exists, and it vanishes once the label becomes common, where the anchoring overhead makes our matcher slower than the baseline. For all-paths queries, the anchored search does about as much work as the baseline, often more, but it still finishes queries where plain enumeration runs out of budget. The implementation and benchmarks are available at https://github.com/luc4hu/master-thesis.
en
dc.language
English
-
dc.language.iso
en
-
dc.rights.uri
http://rightsstatements.org/vocab/InC/1.0/
-
dc.subject
SPARQL Anfragen
de
dc.subject
Property Paths
de
dc.subject
effiziente Algorithmen
de
dc.subject
SPARQL Property Paths
en
dc.subject
Regular Path Queries
en
dc.subject
RDF Knowledge Graphs
en
dc.subject
Apache Jena
en
dc.subject
Path Enumeration Algorithms
en
dc.title
Efficient Enumeration of Property Paths in SPARQL Queries
en
dc.title.alternative
Effiziente Aufzählung von Property Paths in SPARQL Anfragen