1. Supporting Neighborhood-Aware Path Traversal (NAPT) In Graph Queries
- Author
-
Das, Souripriya
- Subjects
edge neighborhood ,path traversal ,query language ,property graph ,rdf - Abstract
In property graph query languages, nothing other than the properties of the current edge and those of its two vertex endpoints can be used to decide if an otherwise qualifying edge should be added to extend the current variable-length path. This, or the even stricter “thou can’t see anything” commandment in SPARQL arbitrary-length property path, is an impediment to writing queries that require that the inclusion (or not) of an edge be contingent upon properties of its neighborhood. An example of such a query requirement, supported in SQL, would be finding gender-alternating foaf:knows paths (in RDF data), or finding (in a property graph) money transfer trails carrying the same amount of money throughout. Proposed fully optional constructs for neighborhood-aware path traversal that eliminate these restrictions without requiring any changes to the underlying graph data model may facilitate expedited widespread adoption of graphs for representing enterprise data., This presentation discusses the motivation and current state of the art for Neighborhood-Aware Path Traversal (NAPT) in graph query languages. It proposes an approach that is rooted at introducing notations for references to neighborhood elements of the current edge being processed. Ideas are explained for new constructs that enable specification of constraints involving the properties of the neighborhood elements of an edge so that only those edges that satisfy the constraints are added to the path being created. Additional constructs are proposed for retrieval of path (aggregates), aggregate-based filter, and returning top-K paths based on specified criteria.
- Published
- 2022
- Full Text
- View/download PDF