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

SPARQL-запит

#defaultView:Map
SELECT ?item ?itemLabel ?uklabel ?celabel ?kalabel
 ?pop (YEAR(?first) AS ?f_year) ?area ?height ?water ?waterLabel ?geo ?geoLabel
 ?site
 ?img ?coa ?cmns ?cat ?coord ?osm  ?src ?srcLabel
WHERE {
# ?item wdt:P31/wdt:P279* wd:Q6784672 .
 ?item wdt:P131 wd:Q2513568 .
OPTIONAL { 
              	?item rdfs:label ?uklabel filter(lang(?uklabel) = "uk") }
OPTIONAL { 
              	?item rdfs:label ?celabel filter(lang(?celabel) = "ce") }
OPTIONAL { 
              	?item rdfs:label ?kalabel filter(lang(?kalabel) = "ka") }
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, ka, ce, ru, [AUTO_LANGUAGE]". } }
ORDER BY ?sklabel
LIMIT 300
Спробувати! · TABernacle (TAB. old)