obographs icon indicating copy to clipboard operation
obographs copied to clipboard

Add some way to distinguish object properties from annotation properties

Open dosumis opened this issue 7 years ago • 3 comments

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?

dosumis avatar Mar 09 '17 16:03 dosumis

(Aside: IUPAC_NAME URI mess is presumably an artifact of fbbt import chain + OBO2OWL conversion.)

dosumis avatar Mar 09 '17 16:03 dosumis

Presumably conversion from obographs to OWL would depend on this distinction being unambiguous.

dosumis avatar Mar 09 '17 16:03 dosumis

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.

cmungall avatar Mar 09 '17 17:03 cmungall