We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 609e092 commit 3701c56Copy full SHA for 3701c56
src/sparql/qc/general/qc-missing-deprecation-reason.sparql
@@ -0,0 +1,16 @@
1
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
2
+PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
3
+PREFIX IAO: <http://purl.obolibrary.org/obo/IAO_>
4
+PREFIX OMO: <http://purl.obolibrary.org/obo/OMO_>
5
+PREFIX MONDO: <http://purl.obolibrary.org/obo/MONDO_>
6
+PREFIX owl: <http://www.w3.org/2002/07/owl#>
7
+
8
+# description: Checks if a proper obsolesence reason was documented for this class
9
10
+SELECT ?entity ?property ?value WHERE {
11
+ ?entity owl:deprecated true .
12
+ FILTER NOT EXISTS {
13
+ ?entity IAO:0000231 ?value .
14
+ }
15
+ FILTER (isIRI(?entity) && STRSTARTS(str(?entity), "http://purl.obolibrary.org/obo/MONDO_"))
16
+}
0 commit comments