A set of SPARQL examples that are used in LOTUS
Pairs of stereoisomers present on Wikidata.
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
#title: Pairs of stereoisomers present on Wikidata
SELECT ?structure_1 ?structure_2 WHERE {
?structure_1 wdt:P3364 ?structure_2.
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?structure_1"):::projected
v2("?structure_2"):::projected
v1 --"wdt:P3364"--> v2