Given that #33 is implemented, OboOntology should offer a function of signature
Oboterm -> OboTerm -> OboOntology -> bool
that checks whether two terms are equivalent by resolving the xrefs of both terms (if they exist in the given ontology) set to treat-xrefs-as-equivalent.
Example:
Consider this term in a given obo file:
treat-xrefs-as-equivalent: TEST
[Term]
id: 1
name: YES
xref: TEST:0001
the function should return true for any one of these terms.
Given that #33 is implemented,
OboOntology
should offer a function of signatureOboterm -> OboTerm -> OboOntology -> bool
that checks whether two terms are equivalent by resolving the xrefs of both terms (if they exist in the given ontology) set to
treat-xrefs-as-equivalent
.Example:
Consider this term in a given obo file:
the function should return true for any one of these terms.