208_absorption_maximum_and_certainty

rq turtle/ttl

Find a protein's reported absorption maximum wavelength (up:maximum, in nm) together with up:certain, a qualifier flagging whether that reported value is certain or approximate

Use at

PREFIX up: <http://purl.uniprot.org/core/>

SELECT
  ?protein
  ?maxWavelength
  ?certain
WHERE {
  ?protein a up:Protein ;
    up:annotation ?annotation .
  ?annotation a up:Absorption_Annotation ;
    up:maximum ?maxWavelength .
  OPTIONAL { ?annotation up:certain ?certain }
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v2("?annotation")
  v4("?certain"):::projected 
  v3("?maxWavelength"):::projected 
  v1("?protein"):::projected 
  c4(["up:Absorption_Annotation"]):::iri 
  c2(["up:Protein"]):::iri 
  v1 --"a"-->  c2
  v1 --"up:annotation"-->  v2
  v2 --"a"-->  c4
  v2 --"up:maximum"-->  v3
  subgraph optional0["(optional)"]
  style optional0 fill:#bbf,stroke-dasharray: 5 5;
    v2 -."up:certain".->  v4
  end