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 4323e8b commit 94a46caCopy full SHA for 94a46ca
src/sparql/remove_preflabels.ru
@@ -0,0 +1,22 @@
1
+prefix owl: <http://www.w3.org/2002/07/owl#>
2
+prefix oboInOwl: <http://www.geneontology.org/formats/oboInOwl#>
3
+prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
4
+prefix RO: <http://purl.obolibrary.org/obo/RO_>
5
+prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
6
+prefix skos: <http://www.w3.org/2004/02/skos/core#>
7
+
8
9
+DELETE {
10
+ ?s ?p ?o
11
+}
12
+WHERE
13
+{
14
+ {
15
+ VALUES ?p {
16
+ skos:preflabel
17
+ }
18
+ ?s a owl:ObjectProperty ;
19
+ ?p ?o
20
+ FILTER (isIRI(?s) && STRSTARTS(str(?s), "http://purl.obolibrary.org/obo/pcl_"))
21
22
0 commit comments