Fork me on GitHub
#rdf
<
2021-09-28
>
simongray07:09:42

Right, that’s what I thought

simongray07:09:49

Thanks a lot, both of you

simongray08:09:03

I also ran this by John McCrae from the Global WordNet Foundation and he said that the way to get around this is just to define the range of the owl:subProperty as owl:subClassOf too. Then you abide by the original range restriction of the parent property. Then to infer the parent property triples you should simple define owl:sameAs :ParentClass for any relevant instances of the subClass.

rickmoynihan10:09:33

@simongray yes, defining :SubClass rdfs:subClassOf :ParentClass and defining a new property :P rdfs:range :ParentClass is a valid thing to do. However your owl:sameAs statement doesn’t make sense to me it seems you’re mixing up instances and classes.

simongray10:09:07

I guess I meant to write :ParentClassInstance rather than :ParentClass