A set of SPARQL examples that are used in LOTUS
Chemicals with canonical SMILES.
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