query-b6b2eda2e98532b21dce991eea6fd108
Compare WL and Wikidata classes in the WL and the following SPARQL query: EntityList[EntityClass["Element", All]]There is a correspondence between the result of
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 * where {
?item wdt:P31 wd:Q11344 . # chemical element
?item rdfs:label ?itemLabel . filter (lang(?itemLabel) = "en")
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?itemLabel"):::projected
c3(["wd:Q11344"]):::iri
f0[["?itemLabel = 'en'"]]
f0 --> v1
v2 --"wdt:P31"--> c3
v2 --"rdfs:label"--> v1