A set of SPARQL examples that are used in different SIB resources
Proteins with a variant having an impact on the nucleus localization at level GOLD
PREFIX : <http://nextprot.org/rdf/>
PREFIX nextprot_cv: <http://nextprot.org/rdf/terminology/>
SELECT DISTINCT ?entry
where {
values ?ioTerm {nextprot_cv:GO_0005634} . # nucleus
?entry :isoform / :proteoform / :phenotypicVariation ?phvar .
?phvar :term / :childOf nextprot_cv:ME_0000002 . # children of impact
?phvar :evidence / :quality :GOLD .
?phvar :impactedObject / :term ?ioTerm .
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?entry"):::projected
v1("?ioTerm")
v3("?phvar")
a1((" "))
a2((" "))
a3((" "))
a4((" "))
a5((" "))
c9([":GOLD"]):::iri
c6([":terminology/ME_0000002"]):::iri
bind0[/VALUES ?ioTerm/]
bind0-->v1
bind00([":terminology/GO_0005634"])
bind00 --> bind0
v2 --":isoform"--> a1
a1 --":proteoform"--> a2
a2 --":phenotypicVariation"--> v3
v3 --":term"--> a3
a3 --":childOf"--> c6
v3 --":evidence"--> a4
a4 --":quality"--> c9
v3 --":impactedObject"--> a5
a5 --":term"--> v1