Шаблон:Округ Скалиця

{{i}} Документація шаблону

,

SPARQL-запит

#defaultView:MapSELECT ?item ?itemLabel ?lau ?uklabel ?sklabel (URI(CONCAT("http://www.sodbtn.sk/obce/obec.php?kod_obce=", ?lau)) AS ?statdat) ?pop (YEAR(?first) AS ?f_year) ?area ?height ?water ?waterLabel ?geo ?geoLabel ?site ?addr ?img ?coa ?cmns ?cat ?catLabel ?poi ?poiLabel ?coord ?osm  ?src ?srcLabel ?viafWHERE { ?item wdt:P31/wdt:P279* wd:Q6784672 . ?item wdt:P131 wd:Q837894 .OPTIONAL {               ?item rdfs:label ?uklabel filter(lang(?uklabel) = "uk") }OPTIONAL {               ?item rdfs:label ?sklabel filter(lang(?sklabel) = "sk") }OPTIONAL {               ?item rdfs:label ?hulabel filter(lang(?hulabel) = "hu") }OPTIONAL { ?item wdt:P131 ?adm. }OPTIONAL { ?item wdt:P782 ?lau. }OPTIONAL { ?item wdt:P1082 ?pop. }OPTIONAL { ?item wdt:P1249 ?first. }OPTIONAL { ?item wdt:P2046 ?area. }OPTIONAL { ?item wdt:P2044 ?height. }OPTIONAL { ?item wdt:P969 ?addr. }OPTIONAL { ?item wdt:P856 ?site. }OPTIONAL { ?item wdt:P206 ?water. }OPTIONAL { ?item wdt:P706 ?geo. } OPTIONAL { ?item wdt:P1456 ?poi. }OPTIONAL { ?item wdt:P18 ?img. }OPTIONAL { ?item wdt:P94 ?coa. } OPTIONAL { ?item wdt:P373 ?cmns. }OPTIONAL { ?item wdt:P910 ?cat. }OPTIONAL { ?item wdt:P625 ?coord. }OPTIONAL { ?item wdt:P402 ?osm. }OPTIONAL { ?item wdt:P1566 ?gn. }OPTIONAL { ?item wdt:P1343 ?src. }OPTIONAL { ?item wdt:P214 ?viaf. }SERVICE wikibase:label { bd:serviceParam wikibase:language "uk, sk, en, hu, [AUTO_LANGUAGE]". } }ORDER BY ?sklabelLIMIT 300
Спробувати! · TABernacle (TAB. old)

Див. також