INCATools / dead_simple_owl_design_patterns

A simple system for specifying OWL class design patterns for OBO-ish ontologies.
http://incatools.github.io/dead_simple_owl_design_patterns/
GNU General Public License v3.0
40 stars 5 forks source link

Add spec for IRI-valued annotations #42

Closed balhoff closed 5 years ago

balhoff commented 5 years ago

This also changes the spec to allow any annotation type at the top level (printf annotation, list annotation, IRI value annotation)—not sure why it was limited to printf annotation before? All the annotations keys in nested structures allowed both types.

The purpose of this new annotation type is to be able to have an annotation axiom where the value is the IRI of an OWL entity, not a string. E.g. for https://github.com/geneontology/go-ontology/pull/16508

Parsers can distinguish this annotation type from the other kinds because it has a var property with a string value, rather than vars with a list.

@dosumis I only edited the YAML. Do you create the JSON automatically?

balhoff commented 5 years ago

This is implemented in dosdp-tools: https://github.com/INCATools/dosdp-tools/pull/65

dosumis commented 5 years ago

Looks good & is clearly needed.