query-bc6f783efd6dd18c5199ba419a83e811
Give me all chemical elements that are also chemical compounds!This should not happen!
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?p ?pLabel
WHERE
{
?p wdt:P31 wd:Q11344 .
?p wdt:P31 wd:Q11173 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en" . }
} ORDER BY ASC(?pLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?p"):::projected
v1("?pLabel"):::projected
c5(["bd:serviceParam"]):::iri
c3(["wd:Q11173"]):::iri
c7(["de,en"]):::literal
c2(["wd:Q11344"]):::iri
v2 --"wdt:P31"--> c2
v2 --"wdt:P31"--> c3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end