|
| 1 | +# Submission Examples |
| 2 | + |
| 3 | +Three working examples for the Anthropic Connectors Directory submission form. |
| 4 | +Each example shows a natural language prompt, which tool Claude invokes, and the actual output. |
| 5 | + |
| 6 | +--- |
| 7 | + |
| 8 | +## Example 1 — Journalist searching for open data on a topic |
| 9 | + |
| 10 | +**Persona**: Journalist or citizen wanting to find relevant datasets without knowing the portal structure. |
| 11 | + |
| 12 | +**User prompt**: |
| 13 | +> What open data about air quality is available on Italy's national open data portal? |
| 14 | +
|
| 15 | +**Tool invoked**: `ckan_find_relevant_datasets` |
| 16 | + |
| 17 | +**Arguments**: |
| 18 | +```json |
| 19 | +{ |
| 20 | + "server_url": "https://www.dati.gov.it/opendata", |
| 21 | + "query": "air quality pollution monitoring", |
| 22 | + "limit": 5 |
| 23 | +} |
| 24 | +``` |
| 25 | + |
| 26 | +**Output** (excerpt): |
| 27 | + |
| 28 | +``` |
| 29 | +# Relevant CKAN Datasets |
| 30 | +
|
| 31 | +Server: https://www.dati.gov.it/opendata |
| 32 | +Query: air quality pollution monitoring |
| 33 | +
|
| 34 | +| Rank | Dataset | Score | Title | Org | Tags | |
| 35 | +|------|--------------------------------------------|-------|--------------------------------------------------|-----------------|-----------------------------------| |
| 36 | +| 1 | impianti-industriali-soggetti-ad-aia | 3 | Impianti industriali soggetti ad AIA | GeoDati - RNDT | air, air-pollution, air-quality | |
| 37 | +| 2 | qualita-dellaria-campioni-inquinanti-dataset | 3 | Qualità dell'Aria Campioni inquinanti - Dataset | GeoDati - RNDT | air-quality, aqd | |
| 38 | +``` |
| 39 | + |
| 40 | +**Why it's useful**: No CKAN knowledge required. Claude translates a natural language topic into a ranked search across titles, descriptions, tags, and organizations. |
| 41 | + |
| 42 | +--- |
| 43 | + |
| 44 | +## Example 2 — Policy analyst exploring a national portal |
| 45 | + |
| 46 | +**Persona**: Public servant, researcher, or journalist wanting a quick overview of what a portal contains. |
| 47 | + |
| 48 | +**User prompt**: |
| 49 | +> Give me an overview of Italy's national open data portal — how many datasets, main categories, most common formats, most active organizations. |
| 50 | +
|
| 51 | +**Tool invoked**: `ckan_catalog_stats` |
| 52 | + |
| 53 | +**Arguments**: |
| 54 | +```json |
| 55 | +{ |
| 56 | + "server_url": "https://www.dati.gov.it/opendata" |
| 57 | +} |
| 58 | +``` |
| 59 | + |
| 60 | +**Output** (excerpt): |
| 61 | + |
| 62 | +``` |
| 63 | +# CKAN Portal Statistics |
| 64 | +
|
| 65 | +Server: https://www.dati.gov.it/opendata |
| 66 | +Total datasets: 69,476 |
| 67 | +
|
| 68 | +## Categories |
| 69 | +- governo: 35,502 |
| 70 | +- societa: 9,072 |
| 71 | +- ambiente: 8,971 |
| 72 | +- economia: 6,778 |
| 73 | +- regioni: 4,929 |
| 74 | +
|
| 75 | +## Formats |
| 76 | +- CSV: 44,208 |
| 77 | +- JSON: 14,973 |
| 78 | +- ZIP: 11,578 |
| 79 | +- XML: 11,563 |
| 80 | +
|
| 81 | +## Top Organizations |
| 82 | +- regione-toscana: 12,735 |
| 83 | +- geodati-gov-it-rndt: 8,686 |
| 84 | +- regione-veneto: 6,568 |
| 85 | +``` |
| 86 | + |
| 87 | +**Why it's useful**: A single prompt gives a complete, structured overview of a portal — useful for deciding where to invest research time or assessing a portal's openness. |
| 88 | + |
| 89 | +--- |
| 90 | + |
| 91 | +## Example 3 — Data analyst querying tabular data directly |
| 92 | + |
| 93 | +**Persona**: Data analyst or developer who wants to inspect actual records from a dataset without downloading files. |
| 94 | + |
| 95 | +**User prompt**: |
| 96 | +> Show me the latest municipal ordinances published by the City of Messina. |
| 97 | +
|
| 98 | +**Tool invoked**: `ckan_datastore_search` |
| 99 | + |
| 100 | +**Arguments**: |
| 101 | +```json |
| 102 | +{ |
| 103 | + "server_url": "https://dati.comune.messina.it", |
| 104 | + "resource_id": "17301b8b-2a5b-425f-80b0-5b75bb1793e9", |
| 105 | + "limit": 5 |
| 106 | +} |
| 107 | +``` |
| 108 | + |
| 109 | +**Output** (excerpt): |
| 110 | + |
| 111 | +``` |
| 112 | +# DataStore Query Results |
| 113 | +
|
| 114 | +Server: https://dati.comune.messina.it |
| 115 | +Total Records: 2,066 | Returned: 5 |
| 116 | +
|
| 117 | +## Fields |
| 118 | +- numero (numeric), data_pubblicazione (timestamp), inizio_validita (text), |
| 119 | + fine_validita (text), aree (text), tipo (text), sintesi (text) |
| 120 | +
|
| 121 | +## Records |
| 122 | +
|
| 123 | +| numero | data_pubblicazione | aree | tipo | sintesi | |
| 124 | +|--------|---------------------|-------------------------------|-------------------------------|--------------------------| |
| 125 | +| 382 | 2026-03-06 | Via Garibaldi; Viale Boccetta | lavori; divieto_sosta | Richiesta ordinanza ... | |
| 126 | +| 381 | 2026-03-06 | Via Maddalena; Viale S.Martino| lavori; divieto_sosta | Occupazione temporane... | |
| 127 | +| 380 | 2026-03-06 | Viale Europa; Via G. Pilli | lavori; divieto_transito | Reti Infrastruttura D... | |
| 128 | +
|
| 129 | +More results available: use offset: 5 for next page. |
| 130 | +``` |
| 131 | + |
| 132 | +**Why it's useful**: Claude can query tabular data from any CKAN DataStore resource with SQL-like filtering, pagination, and field selection — turning a portal into a live database accessible through natural language. |
| 133 | + |
| 134 | +--- |
| 135 | + |
| 136 | +## Summary |
| 137 | + |
| 138 | +| Example | Portal | Tool | Persona | |
| 139 | +|---------|--------|------|---------| |
| 140 | +| 1 — Find datasets by topic | dati.gov.it (IT) | `ckan_find_relevant_datasets` | Journalist / citizen | |
| 141 | +| 2 — Portal overview | dati.gov.it (IT) | `ckan_catalog_stats` | Policy analyst / researcher | |
| 142 | +| 3 — Query tabular data | dati.comune.messina.it (IT) | `ckan_datastore_search` | Data analyst / developer | |
| 143 | + |
| 144 | +All examples tested against live CKAN portals on 2026-03-07. |
0 commit comments