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_00029

Proteins anchored to the membrane via a GPI-anchor

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 :lipidationSite / rdfs:comment ?mod.
 filter(contains(?mod,"GPI-anchor")).
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v2("?entry"):::projected 
  v3("?iso")
  v1("?mod")
  a1((" "))
  f0[["contains(?mod,'GPI-anchor')"]]
  f0 --> v1
  v2 --":isoform"-->  v3
  v3 --":lipidationSite"-->  a1
  a1 --"rdfs:comment"-->  v1