sparql-examples

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

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

sparql-examples2

Get all Glyconnect glycan with their graphical SNFG representation

Use at

PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX glycan: <http://purl.jp/bio/12/glyco/glycan#>

SELECT distinct ?structure ?image 
where {
?structure glycan:glycosylates_at ?specificglycosite .
?structure foaf:depiction ?image  
  }
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v3("?image"):::projected 
  v2("?specificglycosite")
  v1("?structure"):::projected 
  v1 --"glycan:glycosylates_at"-->  v2
  v1 --"foaf:depiction"-->  v3