- Q3356100 administrative territorial entity of Slovenia
- List of subgroups
- Q328584 municipality of Slovenia enwiki (212)
- Q6960199 city municipality of Slovenia
See also:
Below query
#defaultView:Map
SELECT ?item ?itemLabel ?itemDescription ?img ?map ?start ?location ?admLabel ?capital ?short(?admLabel as ?layer) ?Geoname WHERE {
?item wdt:P31 wd:Q328584.
OPTIONAL {?item wdt:P625 ?location}
OPTIONAL {?item wdt:P131 ?adm}
OPTIONAL {?item wdt:P18 ?img}
OPTIONAL {?item wdt:P242 ?map}
OPTIONAL {?item wdt:P571 ?start}
OPTIONAL {?item wdt:P1813 ?short}
OPTIONAL {?item wdt:P36 ?capital}
OPTIONAL {?item wdt:P1566 ?geonameID}
BIND(URI(CONCAT("http://www.geonames.org/",?geonameID)) AS ?Geoname)
SERVICE wikibase:label {
bd:serviceParam wikibase:language "sl","en","de","es" .
}
}
order by ?itemLabel
Map
- same query as a list
- Wikipedia page Municipalities_of_Slovenia
Image grid showing overview maps and pictures from the area
Pictures in Wikicommon are CC0 = "no copyright reserved"Just overview maps from Wikicommon that can be copied and used....
Wikidata and OSM - Linked data - same as Wikidata....
Open Street map has a tag for Wikidata ==> If we have the wikidata object its easy find the node/relation in OSM. Borders are in OSM implemented as relations....- Q507051 is Občina Kranjska Gora
- A search can be done see link to find the object in OSM with Wikidata tag using Overpass and the query language
[out:json][timeout:25];
(
node["wikidata"="Q507051"];
way["wikidata"="Q507051"];
relation["wikidata"="Q507051"];
);
out body;
>;
out skel qt;
==> we get OSM relation 1675593 ==> link https://www.openstreetmap.org/relation/1675593
See also
- Templates
- Question how to use the Wikidata object in an URL to display it on a OSM map link
Inga kommentarer:
Skicka en kommentar