A set of SPARQL examples that are used in different SIB resources
Proteins involved in the Reactome pathway "Respiratory electron transport"
PREFIX : <http://nextprot.org/rdf/>
PREFIX db: <http://nextprot.org/rdf/db/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT DISTINCT ?entry WHERE {
?entry :isoform / :pathway ?p.
?p :evidence /:reference ?xref.
?xref :provenance db:Reactome; :accession "R-HSA-611105"^^xsd:string.
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?entry"):::projected
v2("?p")
v3("?xref")
a1((" "))
a2((" "))
c8(["R-HSA-611105"]):::literal
c6([":db/Reactome"]):::iri
v1 --":isoform"--> a1
a1 --":pathway"--> v2
v2 --":evidence"--> a2
a2 --":reference"--> v3
v3 --":provenance"--> c6
v3 --":accession"--> c8