rdf-validate-shacl icon indicating copy to clipboard operation
rdf-validate-shacl copied to clipboard

Infinite loop with cyclic rdfs:subclassOf relationships

Open martinmaillard opened this issue 4 years ago • 1 comments

martinmaillard avatar Dec 16 '20 09:12 martinmaillard

I did some digging into my problem. I used a data set that that used owl:equivalentClass and a reasoner to generate triples from that. If we define

ex:A owl:equivalentClass ex:B

An OWL reasoner will derive that

ex:B rdfs:subClassOf ex:A.
ex:A rdfs:subClassOf ex:B.

So cyclic subclasses are bound to occur as soon as one has a data set with owl:equivalentClass

mhusm avatar Dec 05 '22 10:12 mhusm