158_citation_scope_via_citation_statement

rq turtle/ttl

Find the citations attached to human insulin (P01308) and, for each one, the scope of what it was cited for (e.g. which disease variant, which sequence region, or which experiment it documents). UniProt records the plain triple up:citation for direct traversal, and separately reifies that same triple as an up:Citation_Statement to attach the citation's scope to the specific citation relationship rather than to the citation itself, since one citation can support several different claims about the same protein

Use at

PREFIX up: <http://purl.uniprot.org/core/>
PREFIX uniprotkb: <http://purl.uniprot.org/uniprot/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT
  DISTINCT
    ?citation
    ?scope
WHERE {
  ?statement a up:Citation_Statement ;
    rdf:subject uniprotkb:P01308 ;
    rdf:predicate up:citation ;
    rdf:object ?citation ;
    up:scope ?scope .
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v2("?citation"):::projected 
  v3("?scope"):::projected 
  v1("?statement")
  c4(["uniprotkb:P01308"]):::iri 
  c6(["up:citation"]):::iri 
  c2(["up:Citation_Statement"]):::iri 
  v1 --"a"-->  c2
  v1 --"rdf:subject"-->  c4
  v1 --"rdf:predicate"-->  c6
  v1 --"rdf:object"-->  v2
  v1 --"up:scope"-->  v3