-
Notifications
You must be signed in to change notification settings - Fork 38
Closed
Description
A user may want to constrain a graph in ways that cannot be expressed using node and property shapes. For example:
- There must be at least one entity of type
schema:Thing
in the graph. Equivalently, there must be at least one triple of the form?subject rdf:type schema:Thing
- There must be no more than N triples in the graph
- No IRIs beginning with some prefix should exist in the graph
Therefore, I wonder if there has been discussion of the idea of graph shapes. Since all of these can be expressed readily using SPARQL ASK queries, I'm envisaging something like this:
:myGraphShape
a sh:GraphShape ;
sh:ask "ASK { ?s a schema:Thing }" .
How can I propose this as part of SHACL and is it in scope?
Metadata
Metadata
Assignees
Labels
No labels