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_00127

Proteins with at least one known SUMOylation site

Use at

PREFIX : <http://nextprot.org/rdf/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT DISTINCT ?entry WHERE {
 ?entry :isoform ?iso.
 ?iso :crossLink /rdfs:comment ?comment.
 filter(contains (?comment,'SUMO'))
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v1("?comment")
  v2("?entry"):::projected 
  v3("?iso")
  a1((" "))
  f0[["contains(?comment,'SUMO')"]]
  f0 --> v1
  v2 --":isoform"-->  v3
  v3 --":crossLink"-->  a1
  a1 --"rdfs:comment"-->  v1