query-567aa3cb80e2eefe211cdfe37b5d248f
Notable integers SELECT (SAMPLE(?item) as ?item) (GROUP_CONCAT(?class; SEPARATOR = " , ") AS ?classes) WHERE { ?item p:P31/ps:P31/wdt:P279* wd:Q12503. ?item p:P31 ?class. }
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
# Notable integers
SELECT
(SAMPLE(?item) as ?item)
(GROUP_CONCAT(?class; SEPARATOR = " , ") AS ?classes)
WHERE {
?item p:P31/ps:P31/wdt:P279* wd:Q12503.
?item p:P31 ?class.
}