Open cmungall opened 3 years ago
this query works when the ontology has been put through robot relax and there is no nesting:
SELECT ?c ?g WHERE {
GRAPH ?g {
?s ?p <http://purl.obolibrary.org/obo/GO_0098537>} .
?c <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?s}
obo:CL_0000041,obomerged:CL
obo:CL_0000043,obomerged:CL
obo:CL_0000096,obomerged:CL
obo:CL_0000096,obomerged:KTAO
but it may be easier to use an API, e.g. bioportal or OLS
Could you also include FYPO in this list?
Context: https://github.com/geneontology/go-ontology/issues/20764
@balhoff and I will provide a script that can be run (ideally this would be a Protege plugin).
There are various ways to do this
one it to run a SPARQL query against ontobee
this is not super-useful as it returns blank nodes, we would need to traverse up, but at least it shows where to start looking:
it still has "false positives", e.g MP is in the list above, but this is because MP uses CL:
http://www.ontobee.org/ontology/MP?iri=http://purl.obolibrary.org/obo/GO_0098537