Skip to content

Commit 94a46ca

Browse files
authored
add remove_preflabels.ru
1 parent 4323e8b commit 94a46ca

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

src/sparql/remove_preflabels.ru

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)