Talk:Q902814
Jump to navigation
Jump to search
Autodescription — border city (Q902814)
description: town or city on a border between larger political areas
- Useful links:
- View it! – Images depicting the item on Commons
- Report on constraint conformation of “border city” claims and statements. Constraints report for items data
For help about classification, see Wikidata:Classification.
- Parent classes (classes of items which contain this one item)
- border city (Q902814)
- city or town (Q7930989)
- urban settlement (Q124250988)
- locality (Q3257686)
- city or town (Q7930989)
- border city (Q902814)
- Subclasses (classes which contain special kinds of items of this class)
- ⟨
border city
⟩ on wikidata tree visualisation (external tool)(depth=1) - Generic queries for classes
- See also
- This documentation is generated using
{{Item documentation}}
.
Query[edit]
#defaultView:Map
SELECT ?border_city ?border_cityLabel ?countryLabel
(GROUP_CONCAT(DISTINCT ?natureLabel; SEPARATOR = "; ") AS ?nature) ?coords
WHERE {
?border_city wdt:P31 wd:Q902814.
?border_city wdt:P31 ?nature.
OPTIONAL { ?border_city wdt:P17 ?country. }
OPTIONAL { ?border_city wdt:P625 ?coords. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en".
?nature rdfs:label ?natureLabel .
?border_city rdfs:label ?border_cityLabel.
?country rdfs:label ?countryLabel.}
}
GROUP BY ?border_city ?border_cityLabel ?countryLabel ?coords
order by ?countryLabel ?border_cityLabel