subtype_of graph contains a cycle
Type URI: https://modeled-information-format.github.io/mif-rs/references/errors/subtype-of-cycle/v1
HTTP status: 422
Exit code: 4
Emitted by: mif-rh (MifRhError::SubtypeOfCycle)
Message
Section titled “Message”subtype_of graph contains a cycle involving entity type '{entity_type}'While computing the concordance’s transitive supertype closure, a
subtype_of chain across the loaded ontology registry loops back to the
entity type it started from. Because this closure walks user-authored
ontology data, it must never be allowed to drive unbounded recursion — a
cycle is detected and reported instead of being followed forever.
Suggested fix
Section titled “Suggested fix”MaybeIncorrect — break the subtype_of cycle in the ontology registry; a type cannot (transitively) subtype itself.