obographs
obographs copied to clipboard
Add some way to distinguish object properties from annotation properties
There is no obvious way to distinguish between OPs and APs in the current version of OBO graphs.
{'id': 'http://purl.obolibrary.org/obo/fbbt#IUPAC_NAME',
'lbl': 'IUPAC NAME',
'type': 'PROPERTY'},
{'id': 'http://purl.obolibrary.org/obo/RO_0002004',
'lbl': 'tracheates',
'meta': {'definition': {'val': 'The relationships that holds between a trachea or tracheole and an anatomical structure that is contained in (and so provides an oxygen supply to).',
'xrefs': ['FBC:DOS']},
'xrefs': [{'val': 'RO:0002004'}]},
'type': 'PROPERTY'}
It would be very useful if there was. If it is too late to change the allowable contents of the 'type' slot, could this instead be done by adding an new field?
(Aside: IUPAC_NAME URI mess is presumably an artifact of fbbt import chain + OBO2OWL conversion.)
Presumably conversion from obographs to OWL would depend on this distinction being unambiguous.
Well, it's possible to go from RDF to OWL without explicit declarations, but the OWLAPI does dark magic here.
+1 to explicit declarations
Just looking to see if there is a standard enum to be used in the OWLAPI. Currently using RDF.PROPERTY.