query-6329de6bbd9efce570e2a6c9b9ed0843
مجمعة لكل بلدية على محور ص، متحركة حسب مجموعات نطاق المسافة الثابتة grouped per municipality on x-axis, animated by fixed dist range groups grouped per municipality on x-axis, animated by fixed dist range groups seskupené podle obcí na ose x, animované podle skupin s pevným rozsahem vzdáleností. grouped per municipality on x-axis, animated by fixed dist range groups gruppiert nach Gemeinde auf der x-Achse, animiert nach festen Distanzbereichen grouped per municipality on x-axis, animated by fixed dist range groups grouped per municipality on x-axis, animated by fixed dist range groups grouped per municipality on x-axis, animated by fixed dist range groups grouped per municipality on x-axis, animated by fixed dist range groups grouped per municipality on x-axis, animated by fixed dist range groups groupées par municipalité sur les abscisses, animé par intervalle donné de valeur de distance grouped per municipality on x-axis, animated by fixed dist range groups grouped per municipality on x-axis, animated by fixed dist range groups grouped per municipality on x-axis, animated by fixed dist range groups raggruppati per comune sull'asse delle ascisse, animati da gruppi a distanza fissa grouped per municipality on x-axis, animated by fixed dist range groups grouped per municipality on x-axis, animated by fixed dist range groups grouped per municipality on x-axis, animated by fixed dist range groups grouped per municipality on x-axis, animated by fixed dist range groups grouped per municipality on x-axis, animated by fixed dist range groups gegroepeerd per gemeente op x-as, geanimeerd door vaste afstandsgroepen grouped per municipality on x-axis, animated by fixed dist range groups grouped per municipality on x-axis, animated by fixed dist range groups grouped per municipality on x-axis, animated by fixed dist range groups grouped per municipality on x-axis, animated by fixed dist range groups grouped per municipality on x-axis, animated by fixed dist range groups grupperade efter kommun i en x-axel, animerade efter fixerad distansgrupper grouped per municipality on x-axis, animated by fixed dist range groups grouped per municipality on x-axis, animated by fixed dist range groups згруповані за муніципалітетами по осі x, анімовані за групами фіксованих діапазонів відстаней grouped per municipality on x-axis, animated by fixed dist range groups grouped per municipality on x-axis, animated by fixed dist range groups
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX geof: <http://www.opengis.net/def/function/geosparql/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:ScatterChart
PREFIX var_muntype: <http://www.wikidata.org/entity/Q15284>
PREFIX var_area: <http://www.wikidata.org/entity/Q6308>
SELECT ?from (?distNum AS ?kilometers) ?to (?distGrp AS ?animation) WHERE {
{ SELECT ?mun (SAMPLE(?loc) AS ?loc)
WHERE { ?mun wdt:P31/wdt:P279* var_muntype:;
wdt:P131 var_area:;
wdt:P625 ?loc. }
GROUP BY ?mun
}
OPTIONAL {
{ SELECT (?mun AS ?mun2) (SAMPLE(?loc) AS ?loc2)
WHERE { ?mun wdt:P31/wdt:P279* var_muntype:;
wdt:P131 var_area:;
wdt:P625 ?loc. }
GROUP BY ?mun
}
}
#FILTER (STR(?mun) <= STR(?mun2)).
BIND(geof:distance(?loc, ?loc2) AS ?distNum).
BIND(COALESCE(
IF(?distNum >= 40, "40 km und mehr", 1/0),
IF(?distNum >= 30, "30 - 40 km", 1/0),
IF(?distNum >= 20, "20 - 30 km", 1/0),
IF(?distNum >= 10, "10 - 20 km", 1/0),
IF(?distNum >= 5, "05 - 10 km", 1/0),
IF(?distNum >= 1, "01 - 05 km", "00 - 01 km")) AS ?distGrp).
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en".
?mun rdfs:label ?from.
?mun2 rdfs:label ?to.
}
}
ORDER BY ?animation ?from ?kilometers
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