Skip to content

Commit

Permalink
list of musculoskeletal disease terms
Browse files Browse the repository at this point in the history
  • Loading branch information
lschriml committed Nov 5, 2024
1 parent c61463e commit 843b2a8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/sparql/extra/musculo_skeletal_list.rq
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# return classes that are descendants of DOID:17 (musculoskeletal system disease)

PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX oboInOwl: <http://www.geneontology.org/formats/oboInOwl#>

SELECT ?id ?label ?definition WHERE {
?s a owl:Class .
?s oboInOwl:id ?id .
?s rdfs:label ?label .
?s obo:IAO_0000115 ?definition .
?s rdfs:subClassOf* obo:DOID_17 .
}

0 comments on commit 843b2a8

Please sign in to comment.