Skip to content

Commit

Permalink
Add query for specimen subclasses in obi-edit
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianduesing committed Nov 4, 2024
1 parent efae02e commit 307a21a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/sparql/specimen-violation-modules.rq
Original file line number Diff line number Diff line change
@@ -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: <http://purl.obolibrary.org/obo/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT ?s WHERE {
?s rdfs:subClassOf* obo:OBI_0100051 ;
rdfs:label ?label .
FILTER (str(?s) != "http://purl.obolibrary.org/obo/OBI_0100051")
}

0 comments on commit 307a21a

Please sign in to comment.