165_reviewed_proteins_for_a_go_term

rq turtle/ttl

Given a GO term, find all reviewed human proteins annotated with it. This is the reverse direction of retrieving GO terms for a protein, matching the classic BioMart workflow of building an enrichment-analysis candidate or background gene set from a GO id filter

Use at

PREFIX up: <http://purl.uniprot.org/core/>
PREFIX taxon: <http://purl.uniprot.org/taxonomy/>
PREFIX GO: <http://purl.obolibrary.org/obo/GO_>

SELECT ?protein
WHERE {
  # GO:0006915 is "apoptotic process"
  ?protein a up:Protein ;
    up:organism taxon:9606 ;
    up:reviewed true ;
    up:classifiedWith GO:0006915 .
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v1("?protein"):::projected 
  c6(["true^^xsd:boolean"]):::literal 
  c2(["up:Protein"]):::iri 
  c4(["taxon:9606"]):::iri 
  c8(["GO:0006915"]):::iri 
  v1 --"a"-->  c2
  v1 --"up:organism"-->  c4
  v1 --"up:reviewed"-->  c6
  v1 --"up:classifiedWith"-->  c8