Open matentzn opened 5 years ago
Yeah I was looking more for something like a verification mechanism that an ontology "is acyclic", which appears to be a requirement for the basic artefact.. sparql is probably the way to go.
OK, so this is more general that just subclass cycles (which should be flagged automatically, as we will infer equivalence between named classes). You need to query over the basic graph.
Or what about this: if an ontology is basic, then create a root property P that is a superproperty of all object properties in the ontology. Declare P to be irreflexive, transitive. Then query for any C SubClassOf P some D & D SubClassOf P some C. May need EMR
for subclass cycles, just use sparql?