Defining relations on graphs: how hard is it in the presence of node partitions?
M. Praveen, B. Srivathsan

TL;DR
This paper investigates the computational complexity of the definability problem for relations on graphs with node partitions, extending standard query languages with memory and equality features, and establishes complexity bounds for these extensions.
Contribution
It provides complexity classifications for the definability problem in extended graph query models, including REM and REE, with and without unions of conjunctive queries.
Findings
Definability problem is EXPSPACE-complete for REM.
Definability problem is PSPACE-complete for REE.
Union of conjunctive queries based on REM or REE is coNP-complete.
Abstract
Designing query languages for graph structured data is an active field of research. Evaluating a query on a graph results in a relation on the set of its nodes. In other words, a query is a mechanism for defining relations on a graph. Some relations may not be definable by any query in a given language. This leads to the following question: given a graph, a query language and a relation on the graph, does there exist a query in the language that defines the relation? This is called the definability problem. When the given query language is standard regular expressions, the definability problem is known to be PSPACE-complete. The model of graphs can be extended by labeling nodes with values from an infinite domain. These labels induce a partition on the set of nodes: two nodes are equivalent if they are labeled by the same value. Query languages can also be extended to make use of this…
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.
Taxonomy
TopicsAdvanced Database Systems and Queries · Semantic Web and Ontologies · Logic, Reasoning, and Knowledge
