A set of SPARQL examples that are used in LOTUS
Stereoisomers with canonical SMILES.
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
#title: Stereoisomers with canonical SMILES
SELECT ?structure ?smiles WHERE {
    ?structure wdt:P31 wd:Q59199015.
    ?structure wdt:P233 ?smiles.
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v2("?smiles"):::projected 
  v1("?structure"):::projected 
  c2(["wd:Q59199015"]):::iri 
  v1 --"wdt:P31"-->  c2
  v1 --"wdt:P233"-->  v2