A set of SPARQL examples
Which structures are isotopically-labeled ones?
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
#title: Which structures are isotopically-labeled ones?
SELECT ?structure WHERE {
?structure wdt:P234 ?inchi.
FILTER(REGEX(STR(?inchi), "/i"))
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?inchi")
v2("?structure"):::projected
f0[["regex(str(?inchi),'/i')"]]
f0 --> v1
v2 --"wdt:P234"--> v1