sparql-examples

A set of SPARQL examples for tutorials at SWAT4HCLS

View the Project on GitHub dnanad/sparql-examples

NXQ_00242

rq turtle/ttl

Proteins with a mitochondrial transit peptide

Use at

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

SELECT DISTINCT ?entry WHERE {
 ?entry :isoform ?iso.
 ?iso :mitochondrialTransitPeptide ?mit.
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v1("?entry"):::projected 
  v2("?iso")
  v3("?mit")
  v1 --":isoform"-->  v2
  v2 --":mitochondrialTransitPeptide"-->  v3