217_proteins_in_a_cancer_pathway
- pathway
- Reactome
- cancer
Find reviewed human proteins that are part of a cancer-related Reactome pathway (matched by the pathway's own name), using the pathway cross-reference's rdfs:comment as the pathway's human-readable name
Use at
PREFIX up: <http://purl.uniprot.org/core/>
PREFIX taxon: <http://purl.uniprot.org/taxonomy/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT
?protein
?pathway
?pathwayName
WHERE {
?protein a up:Protein ;
up:organism taxon:9606 ;
up:reviewed true ;
rdfs:seeAlso ?pathway .
?pathway up:database <http://purl.uniprot.org/database/Reactome> ;
rdfs:comment ?pathwayName .
FILTER(CONTAINS(?pathwayName, "Cancer"))
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?pathway"):::projected
v1("?pathwayName"):::projected
v2("?protein"):::projected
c7(["true^^xsd:boolean"]):::literal
c10([http://purl.uniprot.org/database/Reactome]):::iri
c3(["up:Protein"]):::iri
c5(["taxon:9606"]):::iri
f0[["contains(?pathwayName,'Cancer')"]]
f0 --> v1
v2 --"a"--> c3
v2 --"up:organism"--> c5
v2 --"up:reviewed"--> c7
v2 --"rdfs:seeAlso"--> v3
v3 --"up:database"--> c10
v3 --"rdfs:comment"--> v1