We are creating our Shex definition files checking that some IRIs are of a given type. There is no problem with our generated code but sometimes we get files generated using Protege and most of the individuals are of type X
plus owl:NamedIndividual
, making our validation fail because now a given resource has 2 assertions of type rdf:type
.
Adding owl:NamedIndividual
to all shape checks seems like polluting the Shape definition, so how would you allow extra properties that do not conflict with your shape definition?