query-c6e9562153719a2ae159743e1d52516c
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?chem {
?chem wdt:P31 wd:Q11173 .
OPTIONAL {
?chem rdfs:label ?chemLabel.
FILTER(LANG(?chemLabel) = "en") .
}
FILTER(!BOUND(?chemLabel)) .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?chem"):::projected
v1("?chemLabel")
c3(["wd:Q11173"]):::iri
f0[["not bound(?chemLabel)"]]
f0 --> v1
v2 --"wdt:P31"--> c3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."rdfs:label".-> v1
end