sparql-examples

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

View the Project on GitHub BiGCAT-UM/sparql-examples

072

rq turtle/ttl

Lists all data sources currently used for identifiers in WikiPathways.

Use at

PREFIX dc: <http://purl.org/dc/elements/1.1/>

SELECT DISTINCT (str(?datasourceLit) as ?datasource)
WHERE {
  ?concept dc:source ?datasourceLit
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v1("?concept")
  v3("?datasource")
  v2("?datasourceLit"):::projected 
  v1 --"dc:source"-->  v2
  bind0[/"str(?datasourceLit)"/]
  v2 --o bind0
  bind0 --as--o v3