resolve_municipality
Resolve a Swiss municipality's name or BFS number to its official LINDAS URI and BFS identifier. Use this to link municipality data across Swiss public datasets.
Instructions
Resolve a Swiss municipality to its LINDAS URI and BFS number.
The BFS commune number is the join key across the whole portfolio: the same number identifies the municipality in swiss-statistics-mcp, zurich-opendata-mcp and any cube that references a place. In LINDAS the URI is literally ld.admin.ch/municipality/.
Args: name_or_bfs: A municipality name ("Zürich") or a BFS number ("261"). language: Language for the name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | de | |
| name_or_bfs | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| source | No | Data: LINDAS Linked Data Service, Swiss Federal Archives — https://lindas.admin.ch. Each cube declares its own licence; check the `licence` field before reuse. | |
| returned | Yes | ||
| match_type | No | 'none' when the name/BFS number resolved to nothing. | exact |
| provenance | No | live_sparql | |
| suggestion | No | Actionable next step when match_type is 'none'. | |
| retrieved_at | Yes | ||
| municipalities | Yes |