query-e43eb040b59d3d89803ac9332e8f01d5
This query collects burial places of individuals, and sorts them in decreasing order SELECT ?human (COUNT(?place) AS ?count) WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P119 ?place. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } GROUP BY ?human ORDER BY DESC(?count) This query collects burial places of individuals, and sorts them in decreasing order SELECT ?human (COUNT(?place) AS ?count) WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P119 ?place. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } GROUP BY ?human ORDER BY DESC(?count) This query collects burial places of individuals, and sorts them in decreasing order SELECT ?human (COUNT(?place) AS ?count) WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P119 ?place. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } GROUP BY ?human ORDER BY DESC(?count) This query collects burial places of individuals, and sorts them in decreasing order SELECT ?human (COUNT(?place) AS ?count) WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P119 ?place. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } GROUP BY ?human ORDER BY DESC(?count) This query collects burial places of individuals, and sorts them in decreasing order SELECT ?human (COUNT(?place) AS ?count) WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P119 ?place. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } GROUP BY ?human ORDER BY DESC(?count) This query collects burial places of individuals, and sorts them in decreasing order SELECT ?human (COUNT(?place) AS ?count) WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P119 ?place. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } GROUP BY ?human ORDER BY DESC(?count) This query collects burial places of individuals, and sorts them in decreasing order SELECT ?human (COUNT(?place) AS ?count) WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P119 ?place. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } GROUP BY ?human ORDER BY DESC(?count) This query collects burial places of individuals, and sorts them in decreasing order SELECT ?human (COUNT(?place) AS ?count) WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P119 ?place. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } GROUP BY ?human ORDER BY DESC(?count) This query collects burial places of individuals, and sorts them in decreasing order SELECT ?human (COUNT(?place) AS ?count) WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P119 ?place. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } GROUP BY ?human ORDER BY DESC(?count) This query collects burial places of individuals, and sorts them in decreasing order SELECT ?human (COUNT(?place) AS ?count) WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P119 ?place. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } GROUP BY ?human ORDER BY DESC(?count)
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#>
# This query collects burial places of individuals, and sorts them in decreasing order
SELECT ?human (COUNT(?place) AS ?count) WHERE {
?human wdt:P31 wd:Q5.
?human wdt:P119 ?place.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
}
GROUP BY ?human
ORDER BY DESC(?count)
Query found at
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced/en
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced/es
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced/fr
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced/hy
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced/ja
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced/nl
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced/sv
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced/tr
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced/uk
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced/zh