agroportal / project-management

Repository used to consolidate documentation about the AgroPortal project and track content related issues.
http://agroportal.lirmm.fr
7 stars 0 forks source link

Erase the http://purl.obolibrary.org/obo/TEMP URI automatically value generated by OWL-API #396

Open jonquet opened 1 year ago

jonquet commented 1 year ago

When an otology in the OBO format is uploaded, the URI value ends up being: http://purl.obolibrary.org/obo/TEMP

This value is generated by the OBO2OWL tool inside the OWL-API.

Another exception: if the ontolgy is in OWL but ends up with this value after the metadata extraction step, then we can use the "pullLocation" property if this is a starting with "http://purl.obolibrary.org" If that second exception is not coded, no big deal. @hibadjebabria169 will capture this in our "AgroPortal curation rules"

syphax-bouazzouni commented 1 year ago

Some questions here:

jonquet commented 1 year ago

It is not better to have a temporary URI than an empty value?

Ontologies developped in the OBO format do not have an URI at the exception of the ones that are going through the registration in the OBO Foundry process (for which OBO Foundry take the responsability of the URIs). Plus the TEMP URI ends up being shared btw multiple ontologies in AgroPortal which is not good (e.g. prevent the use as an identifier).

is this temporary URI not used in the OBO files?

Not in the OBO files. The OWL-API generates URIs for objects inside the ontologies when we use it... but tht is another problem/issue.