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_00079

Proteins with at least one 3D structure and that are phosphorylated

Use at

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

SELECT DISTINCT ?entry WHERE {
 ?entry :isoform ?iso.
 ?iso :uniprotKeyword / :term nextprot_cv:KW-0597. # Phosphoprotein
 ?iso :pdbMapping ?map.
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v1("?entry"):::projected 
  v2("?iso")
  v3("?map")
  a1((" "))
  c4([":terminology/KW-0597"]):::iri 
  v1 --":isoform"-->  v2
  v2 --":uniprotKeyword"-->  a1
  a1 --":term"-->  c4
  v2 --":pdbMapping"-->  v3