Is it possible to use SHACL to formulate constraints about the entire data scope?
For example, can I require the presence of a triple conforming to a certain shape in the data?
A code example of what I had in mind:
# DEMO code, currently raises an error!!
@prefix ex: <http://example.org/ns#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
ex:ObligatoryShape
a sh:NodeShape ;
minCount 1 . # What I want
My idea is that the above code would raise an error for every data graph that does not include at least one instance of data triple conforming to ex:ObligatoryShape -- this includes the empty data graph.