Using SHACL constraint language for a novel use of shapes, by which a set of shapes is used to extract a subgraph from an RDF graph, the so-called shape fragment.


In this work, (i) we define our extraction mechanism formally, building on recently proposed SHACL formalizations; (ii) we establish correctness properties, which relate shape fragments to notions of provenance for database queries; (iii) we compare shape fragments with SPARQL queries; (iv) we discuss implementation options; and (v) we present initial experiments demonstrating that shape fragments are a feasible new idea.

More Information: