Open cmungall opened 6 years ago
Additional docs on the procedure being used here: https://github.com/owlcollab/owltools/wiki/Annotation-Extension-Folding
https://github.com/owlcollab/owltools/issues/238
the two contexts:
I think I've found it - the part_of in the c16 expression is somehow being mapped onto http://purl.obolibrary.org/obo/so#part_of
String extRelString = ext.getRelation();
OWLClass extCls = f.getOWLClass(g.getIRIByIdentifier(extClsString));
OWLObjectProperty extRel = g.getOWLObjectPropertyByIdentifier(extRelString);
I think I've found it - the part_of in the c16 expression is somehow being mapped onto http://purl.obolibrary.org/obo/so#part_of
String extRelString = ext.getRelation();
OWLClass extCls = f.getOWLClass(g.getIRIByIdentifier(extClsString));
OWLObjectProperty extRel = g.getOWLObjectPropertyByIdentifier(extRelString);
Also here BasicAnnotationPropagator.getDirectLinkedClasses
Given this test GAF
this command
yields
which is what we expect
However, this is not recapitulated when we run a different command, which should be using the same underlying machinery
however, this is only the case for newer editions of the ontology. i.e.
--gaf-fold-inferences
works on old and new. However,--createReport
works on only on old. Very odd...