get_cube_structure
Inspect a data cube's dimensions, measures, and licence to understand its structure before querying. Use it to identify filterable dimensions and codelists for SPARQL queries.
Instructions
Read a cube's dimensions and measures — what the cube contains.
Tells you which dimensions you can filter on (KeyDimension), which values
are measured (MeasureDimension), and which dimensions carry code lists.
It also returns the licence, which is frequently a Fedlex URI you can
resolve with fedlex-mcp.
Call this to understand a cube before reading it, and to write a
run_sparql query against it. It is NOT a prerequisite for readable data:
query_cube_observations fetches the structure itself and resolves labels
on its own. Note that this result reports only whether a dimension has a
code list (has_codelist), not the list's entries — so calling it first
does not help you decode raw codes either.
Args:
cube_uri: A cube URI from search_cubes.
language: Language for dimension names and description.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cube_uri | Yes | ||
| language | No | de |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| 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. | |
| status | No | ||
| licence | No | Often a Fedlex URI — joins to fedlex-mcp. | |
| version | No | ||
| cube_uri | Yes | ||
| dimensions | Yes | ||
| provenance | No | live_sparql | |
| description | No | ||
| creator_name | No | ||
| retrieved_at | Yes |