-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathNXQ_00022.ttl
31 lines (28 loc) · 1.46 KB
/
NXQ_00022.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@prefix ex:<https://purl.expasy.org/sparql-examples/ontology#neXtProt/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <https://schema.org/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
ex:NXQ_00022 a sh:SPARQLExecutable,
sh:SPARQLSelectExecutable ;
rdfs:comment "Proteins with no function annotated"@en ;
sh:prefixes _:sparql_examples_prefixes ;
sh:select """PREFIX : <http://nextprot.org/rdf/>
PREFIX nextprot_cv: <http://nextprot.org/rdf/terminology/>
SELECT DISTINCT ?entry WHERE {
?entry :isoform ?iso.
filter not exists { ?iso :functionInfo ?_. }
filter not exists { ?iso :catalyticActivity ?_ .}
filter not exists { ?iso :transportActivity ?_ .}
filter not exists { ?iso :pathway ?_. }
filter not exists {
?iso :function / :term ?fterm .
filter(?fterm != nextprot_cv:GO_0005524 && ?fterm != nextprot_cv:GO_0000287 && ?fterm != nextprot_cv:GO_0005515 && ?fterm != nextprot_cv:GO_0042802
&& ?fterm != nextprot_cv:GO_0008270 && ?fterm != nextprot_cv:GO_0051260 && ?fterm != nextprot_cv:GO_0005509
&& ?fterm != nextprot_cv:GO_0003676 && ?fterm != nextprot_cv:GO_0003824 && ?fterm != nextprot_cv:GO_0007165 && ?fterm != nextprot_cv:GO_0035556
&& ?fterm != nextprot_cv:GO_0046914 && ?fterm != nextprot_cv:GO_0046872)
}
filter not exists { ?entry :existence :Uncertain } # Remove PE5 proteins
}""" ;
schema:keywords "function",
"tutorial" ;
schema:target <https://sparql.nextprot.org/sparql> .