sparql-examples

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

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

sparql-examples5

Get all Glyconnect reference papers

Use at

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

SELECT distinct ?citation ?pmid
where {
?refconjugate glycan:published_in ?citation. 
?citation foaf:primaryTopicOf ?pmid .  
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v2("?citation"):::projected 
  v3("?pmid"):::projected 
  v1("?refconjugate")
  v1 --"glycan:published_in"-->  v2
  v2 --"foaf:primaryTopicOf"-->  v3