EnvironmentOntology / envo

A community-driven ontology for the representation of environments
http://www.environmentontology.org
Creative Commons Zero v1.0 Universal
127 stars 53 forks source link

Change mapping predicate from oio:hasAlternativeId to either skos or oio:hasDbXref #1417

Closed cmungall closed 12 months ago

cmungall commented 12 months ago

there are a lot of mappings in ENVO to CMECS, NLCD, etc that are encoded using oio:hasAlternativeId - this is wrong, this should only be used for merges.

While we should move towards complete SSSOM metadata using SKOS a good intermediate first step, as it would make things consistent with the other ~8k dbxref mappings in ENVO

cc @matentzn

cmungall commented 12 months ago

Additionally a few like http://purl.obolibrary.org/obo/ENVO_01001407 has alt_ids for things like Cc, these are not even ids...

envo query -q "SELECT subject,value FROM statements where predicate='oio:hasAlternativeId' and value NOT LIKE '%:%'"

subject subject_label value
ENVO:01001160 cirrus cloud Ci
ENVO:01001407 cirrocumulus cloud Cc
ENVO:01001408 cirrostratus cloud Cs
ENVO:01001409 altocumulus cloud Ac
ENVO:01001410 altostratus cloud As
ENVO:01001411 nimbostratus cloud Ns
ENVO:01001412 stratocumulus cloud Sc
ENVO:01001413 stratus cloud St
ENVO:01001414 cumulus cloud Cu
ENVO:01001419 cumulonimbus cloud Cb