Containment of Shape Expression Schemas for RDF

03/20/2018
by   Slawek Staworko, et al.
0

We study the problem of containment for shape expression schemas (ShEx) for RDF graphs. We identify a subclass of ShEx that has a natural graphical representation in the form of shape graphs and their semantics is captured with a tractable notion of embedding of an RDF graph in a shape graph. When applied to pairs of shape graphs, an embedding is a sufficient condition for containment, and for a practical subclass of deterministic shape graphs, it is also a necessary one, thus yielding a subclass with tractable containment. While for general shape graphs a minimal counter-example i.e., an instance proving non-containment, might be of exponential size, we show that containment is EXP-hard and in coNEXP. Finally, we show that containment for arbitrary ShEx is coNEXP-hard and in coTwoNEXP^NP.

READ FULL TEXT
research
07/10/2021

Inference of Shape Expression Schemas Typed RDF Graphs

We consider the problem of constructing a Shape Expression Schema (ShEx)...
research
05/25/2022

Square roots of nearly planar graphs

We prove that it is NP-hard to decide whether a graph is the square of a...
research
08/31/2020

Deciding SHACL Shape Containment through Description Logics Reasoning (Extended Version)

The Shapes Constraint Language (SHACL) allows for formalizing constraint...
research
08/30/2022

Shape-Faithful Graph Drawings

Shape-based metrics measure how faithfully a drawing D represents the st...
research
07/22/2021

Testing isomorphism of chordal graphs of bounded leafage is fixed-parameter tractable

It is known that testing isomorphism of chordal graphs is as hard as the...
research
03/12/2018

(FPT-)Approximation Algorithms for the Virtual Network Embedding Problem

Many resource allocation problems in the cloud can be described as a bas...
research
10/20/2008

Hierarchical Bag of Paths for Kernel Based Shape Classification

Graph kernels methods are based on an implicit embedding of graphs withi...

Please sign up or login with your details

Forgot password? Click here to reset