Expressive Path Queries on Graph with Data
Pablo Barcelo (University of Chile), Gaelle Fontaine (University of, Chile), Anthony Widjaja Lin (Yale-NUS College, Singapore)

TL;DR
This paper investigates the expressive power and computational complexity of advanced graph query languages, proposing register logic as a practical extension that balances expressiveness and efficiency.
Contribution
It introduces register logic, an extension of REM, capable of expressing many properties of WL while maintaining low data complexity, addressing limitations of existing languages.
Findings
WL has nonelementary data complexity, making it impractical.
REM has low data complexity but limited expressive power.
Register logic combines expressiveness of WL with REM's efficiency.
Abstract
Graph data models have recently become popular owing to their applications, e.g., in social networks and the semantic web. Typical navigational query languages over graph databases - such as Conjunctive Regular Path Queries (CRPQs) - cannot express relevant properties of the interaction between the underlying data and the topology. Two languages have been recently proposed to overcome this problem: walk logic (WL) and regular expressions with memory (REM). In this paper, we begin by investigating fundamental properties of WL and REM, i.e., complexity of evaluation problems and expressive power. We first show that the data complexity of WL is nonelementary, which rules out its practicality. On the other hand, while REM has low data complexity, we point out that many natural data/topology properties of graphs expressible in WL cannot be expressed in REM. To this end, we propose register…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
