Reconstructing Graph Pattern Matches Using SPARQL

TitleReconstructing Graph Pattern Matches Using SPARQL
Publication TypeConference Paper
Year of Publication2017
AuthorsMennicke, S., D. Nagel, J. - C. Kalo, N. Aumann, and W. - T. Balke
Refereed DesignationRefereed
Conference Name15th Lernen Wissen Daten Analysen (LWDA) Conference
Date Published09/2017
Conference LocationRostock, Germany

Pattern matching is the foundation for handling complex queries to graph databases. Commonly used algorithms stem from the realm of graph isomorphism and simulations, being well understood theoretical frameworks. On the practical side, there are established graph query languages that often allow for a wide variety of query tasks, often even beyond pattern matching. However, very little is known how graph queries from common query languages relate to graph pattern matching relations. In this paper, we propose a study in this respect for SPARQL, the W3C recommendation for querying RDF data. The homomorphic nature of the SPARQL semantics allows for a straight-forward formulation of graph-isomorphic matching. However, the somewhat artificial nature of these queries motivates the study of sole basic graph patterns, the foundational concept of SPARQL. For basic graph patterns, we show a correspondence to strong simulation, an efficient graph pattern matching relation appreciated for its polynomial bound matches. In consequence, graph query languages are capable of serving as generating frameworks for established graph pattern matching relations. 

LWDA_2017_paper_43_0.pdf310.62 KB