query-dce694bb7211ea3904ebfcbc306f56a5
Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM) Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below SELECT ?country ?countryLabel ?wikiPersons ?population (ROUND(?wikiPersons/?population1000000) AS ?wikiPersonsPerM) WHERE { { SELECT ?country (count() as ?wikiPersons) WHERE { {SELECT DISTINCT ?person ?country WHERE { wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity # BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries ?person wdt:P31 wd:Q5 . ?person wdt:P27 ?country . FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people } } } GROUP BY ?country } ?country wdt:P1082 ?population SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY DESC(?wikiPersonsPerM)
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#>
#Interesting maintenance query that shows the relative prominence of a country's current (living) population on Wikidata. The query tends to time out when using all countries at once, but it might be possible to get the figures for each individual country by using uncommenting the line as indicated below
SELECT
?country ?countryLabel
?wikiPersons
?population
(ROUND(?wikiPersons/?population*1000000) AS ?wikiPersonsPerM)
WHERE
{
{ SELECT ?country (count(*) as ?wikiPersons) WHERE {
{SELECT DISTINCT ?person ?country WHERE {
wd:Q458 wdt:P150 ?country . # European Union contains administrative territorial entity
# BIND( wd:Q30 AS ?country ) # use instead of previous line to check individual countries
?person wdt:P31 wd:Q5 .
?person wdt:P27 ?country .
FILTER NOT EXISTS{ ?person wdt:P570 ?date } # only count living people
} }
} GROUP BY ?country }
?country wdt:P1082 ?population
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" }
}
ORDER BY DESC(?wikiPersonsPerM)
Query found at
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/ar
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/be-tarask
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/ca
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/cs
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/da
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/de
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/en
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/en-gb
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/eo
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/es
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/eu
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/fr
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/he
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/hy
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/id
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/it
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/ja
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/ko
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/lb
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/lt
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/ms
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/nl
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/pl
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/pt-br
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/ro
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/ru
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/si
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/sv
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/th
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/tr
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/uk
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/vec
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/zh