Thanks Holger! Now it works. What I did was to move the sh:property constraint into cdm:work as you suggested and to replace sh:Shape with sh:NodeShape.
By using sh:targetClass I was trying to define one shape (e.g, validation:WorkShape) per class (e.g., cdm:work) in order to keep the shacl validation completely separated from the ontology. Moving sh:property into cdm:work, however, seems to generate an ontology/shacl mix. Once I have a better understanding of the API I will try to implement the variation you suggested, but for now I'm fine. Regards, Sebastian -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include the TopBraid Suite family of products and its base technologies such as SPARQLMotion, SPARQL Web Pages and SPIN. To post to this group, send email to [email protected] --- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
