sparql-examples

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

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

4

Select the UniProtKB entry with the mnemonic 'A4_HUMAN'

Use at

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

SELECT ?protein
WHERE
{
    ?protein a up:Protein .
    ?protein up:mnemonic 'A4_HUMAN'
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v1("?protein"):::projected 
  c4(["A4_HUMAN"]):::literal 
  c2(["up:Protein"]):::iri 
  v1 --"a"-->  c2
  v1 --"up:mnemonic"-->  c4