EBISPOT / efo

Github repo for the Experimental Factor Ontology (EFO)
https://www.ebi.ac.uk/efo/
57 stars 13 forks source link

Mapping EFO measurement to EFO - entity based strategy #1553

Open dosumis opened 2 years ago

dosumis commented 2 years ago

Strategy: Use UberGraph to map based on shared entity reference

Rough first draft:

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX IAO: <http://purl.obolibrary.org/obo/IAO_>
PREFIX EFO: <http://purl.obolibrary.org/obo/EFO_>
PREFIX OBA: <http://purl.obolibrary.org/obo/OBA_>
PREFIX RO: <http://purl.obolibrary.org/obo/RO_>

SELECT * WHERE {
  ?measurement owl:subClassOf EFO:0001444 . # measurement
  ?measurement IAO:0000136 ?obj . # is_about
  ?trait owl:subClassOf OBA:0000001 .
  ?trait RO:0000052 ?obj . # characteristic_of
} LIMIT 10

TODO:

matentzn commented 2 years ago

src/ontology/mappings/oba_efo.sssom.tsv would be a good name for it. We can create a goal for downloading it from google sheets and as well to have the source of truth in google while we are working on it.