query-fd7d3dd953e1801d56a6bf499a2e1fe6
Give me all instances of a class
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 ?instance ?instanceLabel ?instanceDescription
WHERE {
?instance wdt:P31 wd:Q7180990 .
SERVICE wikibase:label {bd:serviceParam wikibase:language "en,de"}
} ORDER BY ASC(?instanceLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?instance"):::projected
v1("?instanceLabel"):::projected
c4(["bd:serviceParam"]):::iri
c6(["en,de"]):::literal
c2(["wd:Q7180990"]):::iri
v2 --"wdt:P31"--> c2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end