lotus-sparql-examples

A set of SPARQL examples that are used in LOTUS

View the Project on GitHub lotusnprod/lotus-sparql-examples

wd_chemicals_smiles_canonical

rq turtle/ttl

Chemicals with canonical SMILES.

Use at


PREFIX wdt: <http://www.wikidata.org/prop/direct/>
#title: Chemicals with canonical SMILES
SELECT * WHERE {
    ?structure wdt:P233 ?smiles.
}

graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v2("?smiles"):::projected 
  v1("?structure"):::projected 
  v1 --"wdt:P233"-->  v2