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