A set of SPARQL examples that are used in LOTUS
Chemicals with InChIKey.
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
#title: Chemicals with InChIKey
SELECT * WHERE {
?structure wdt:P235 ?inchikey.
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?inchikey"):::projected
v1("?structure"):::projected
v1 --"wdt:P235"--> v2