obophenotype / bio-attribute-ontology

source files for OBA (Ontology of Biological Attributes)
https://obophenotype.github.io/bio-attribute-ontology
Creative Commons Zero v1.0 Universal
26 stars 11 forks source link

Check compatibility of top 10 OBA patterns with uPheno #170

Open matentzn opened 1 year ago

matentzn commented 1 year ago

To maximise the interoperability, we need to ensure that morphology, amount etc patterns in OBA work with uPheno 1. Use Yasgui as basis:

https://api.triplydb.com/s/gRdt-S9PK

Ubergraph:

PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX has_part: <http://purl.obolibrary.org/obo/BFO_0000051>
SELECT DISTINCT ?hp ?hp_label ?oba ?oba_label
WHERE {
  ?hp rdfs:isDefinedBy obo:hp.owl .
  ?hp has_part: ?oba .
  ?oba rdfs:isDefinedBy obo:oba.owl .
  ?hp rdfs:label ?hp_label .
  ?oba rdfs:label ?oba_label .
}
LIMIT 1000
matentzn commented 1 year ago

Related: https://github.com/obophenotype/bio-attribute-ontology/pull/153