157_polymorphisms_reported_for_a_protein

rq turtle/ttl

Find polymorphisms reported for proteins, i.e. population sequence variation described as such rather than as a disease-causing natural variant

Use at

PREFIX up: <http://purl.uniprot.org/core/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT
  ?protein
  ?polymorphism
WHERE {
  ?protein a up:Protein ;
    up:annotation ?annotation .
  ?annotation a up:Polymorphism_Annotation ;
    rdfs:comment ?polymorphism .
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v2("?annotation")
  v3("?polymorphism"):::projected 
  v1("?protein"):::projected 
  c4(["up:Polymorphism_Annotation"]):::iri 
  c2(["up:Protein"]):::iri 
  v1 --"a"-->  c2
  v1 --"up:annotation"-->  v2
  v2 --"a"-->  c4
  v2 --"rdfs:comment"-->  v3