sparql-examples

A set of SPARQL examples

View the Project on GitHub Adafede/sparql-examples

wd_chemicals_stereosiomer_of

rq turtle/ttl

Which pairs of stereoisomers are present on Wikidata?

Use at


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