A set of SPARQL examples
Which pairs of stereoisomers are present on Wikidata?
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
#title: Which pairs of stereoisomers are 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