I am successfully using sh:Info inside PropertyShapes with SPARQLConstraints, but the particular constraint I'm working on is for any property, so I am using a NodeShape.
I have tried specifying sh:Info, but TBC-ME keeps showing my violating SPARQLConstraint as a full-on violation rather than an sh:Info.
Sample code pattern:
ex:MyClass
sh:sparql [
a sh:SPARQLConstraint ;
sh:message "My message" ;
sh:severity sh:Info ;
sh:select """
SELECT $this ...
WHERE {
...
""" ;
] ;
MyClass is defined elsewhere as a sh:NodeShape
MyClass has several SPARQLConstraints, so I want this one to be sh:Info and the other one to be the default (sh:Violation).
What am I doing wrong?
Steve