owlcollab / oboformat

Automatically exported from code.google.com/p/oboformat
5 stars 2 forks source link

Fix mapping of `is_metadata_tag(true)` typedefs to annotation properties #120

Closed althonos closed 2 years ago

althonos commented 2 years ago

OBO typedef frames are translated to annotation properties if they contain an is_metadata_tag: true clause. This is useful for creating typedefs in OBO that are used in property_value clauses.

However, in the semantic guide, the translation of relationship: clauses is wrong because it checks the is_class_level tag instead of the is_metadata_tag to translate a relationship to an AnnotationAssertion or an EquivalentClasses axioms. The is_class_level tag is only useful for translating an ObjectHasValue restriction.

althonos commented 2 years ago

ping @cmungall , I'm pretty sure this is correct and just a typo in the guide, but want to confirm before merging.

cmungall commented 2 years ago

Thanks!