210_mass_spectrometry_measured_value

rq turtle/ttl

Find a protein's mass spectrometry annotation with its measured mass (up:measuredValue) and, where recorded, the measurement's error margin (up:measuredError)

Use at

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

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