I guess this is a question for the SHACL shark Veronika Heimsbakk but can I use SHACL to create a constraint for a property having as an object instances from a particular skos:ConceptScheme?
Saw this just now! 😅
sh:hasValue expect that particular value, while if you use sh:class, the SHACL engine expects any instance of the class pointed to by sh:class.
But seems like you found your solution! ❤️