query-7abb34bb062226f0915deb66e666b8d5
Química https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry) Wikidata, Viquiprojecte Químcia https://github.com/egonw/wikidata-chemistry/tree/mainInchikeys d'@egonw (
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT (str(substr(str(?compound),32)) AS ?wikidata) (str(?key) AS ?id) WHERE {
?compound wdt:P235 ?key .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?compound"):::projected
v4("?id")
v2("?key"):::projected
v3("?wikidata")
v1 --"wdt:P235"--> v2
bind0[/"str(substring(str(?compound),'32^^xsd:integer'))"/]
v1 --o bind0
bind0 --as--o v3
bind1[/"str(?key)"/]
v2 --o bind1
bind1 --as--o v4