From 843b2a848b5f981d65c1cf10445bfe663c986022 Mon Sep 17 00:00:00 2001 From: lschriml Date: Tue, 5 Nov 2024 09:18:08 -0500 Subject: [PATCH] list of musculoskeletal disease terms --- src/sparql/extra/musculo_skeletal_list.rq | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/sparql/extra/musculo_skeletal_list.rq 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