sparql-examples

A set of SPARQL examples that are used in different SIB resources

View the Project on GitHub sib-swiss/sparql-examples

neXtProt/NXQ_00011

Proteins that are expressed in liver and involved in transport

Use at

PREFIX : <http://nextprot.org/rdf/>
PREFIX nextprot_cv: <http://nextprot.org/rdf/terminology/>

SELECT DISTINCT ?entry WHERE {
 ?entry :isoform ?iso.
 ?iso :detectedExpression/:term/:childOf nextprot_cv:TS-0564.
 nextprot_cv:KW-0813 :related ?tra.
 ?iso :generalAnnotation / :term ?tra.
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v1("?entry"):::projected 
  v2("?iso")
  v3("?tra")
  a1((" "))
  a2((" "))
  a3((" "))
  c5([":terminology/TS-0564"]):::iri 
  c6([":terminology/KW-0813"]):::iri 
  v1 --":isoform"-->  v2
  v2 --":detectedExpression"-->  a1
  a1 --":term"-->  a2
  a2 --":childOf"-->  c5
  c6 --":related"-->  v3
  v2 --":generalAnnotation"-->  a3
  a3 --":term"-->  v3