diff --git a/src/sparql/specimen-violation-modules.rq b/src/sparql/specimen-violation-modules.rq new file mode 100644 index 00000000..94cf8fcf --- /dev/null +++ b/src/sparql/specimen-violation-modules.rq @@ -0,0 +1,11 @@ +# 'specimen' should have no asserted children in obi-edit.owl +# Any descendant of specimen that has a label is asserted in obi-edit.owl + +PREFIX obo: +PREFIX rdfs: + +SELECT ?s WHERE { + ?s rdfs:subClassOf* obo:OBI_0100051 ; + rdfs:label ?label . + FILTER (str(?s) != "http://purl.obolibrary.org/obo/OBI_0100051") +}