diff --git a/src/sparql/extra/musculo_skeletal_list.rq b/src/sparql/extra/musculo_skeletal_list.rq new file mode 100644 index 00000000..317518aa --- /dev/null +++ b/src/sparql/extra/musculo_skeletal_list.rq @@ -0,0 +1,14 @@ +# return classes that are descendants of DOID:17 (musculoskeletal system disease) + +PREFIX obo: +PREFIX owl: +PREFIX rdfs: +PREFIX 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 . +} \ No newline at end of file