# Finding other Uruguay data

**Against the 2011 census (the latest by department in the catalogue's file), Uruguay has 3.73 cattle per person. In Durazno it is 16.7; in Montevideo, 0.0021. The dataset was found by meaning in the catalogue graph, fetched from the link its DCAT record gives, and joined on the department codes.**

## Charts

![Map: cattle per person is highest in Durazno, Florida and Flores (about 16), near zero in Montevideo.](https://cow-tools.sophia-labs.com/notebooks/finding-other-data/charts/cattle-per-person-map.png)

*Cattle per person, by department.* [Interactive](https://cow-tools.sophia-labs.com/notebooks/finding-other-data/index.html) · [Vega-Lite spec](https://cow-tools.sophia-labs.com/notebooks/finding-other-data/charts/cattle-per-person-map.vl.json)

## How we know

The notebook ran **6 cross-checks**, every one passed; the build refuses to publish a notebook whose numbers disagree with the source. A sample:

| check | got | expected | rule |
| --- | --- | --- | --- |
| semantic search finds the people-by-department census dataset, with a CSV, in its top ten | True | True | exactly |
| …and ranks it in the top five | True | True | exactly |
| 2011 census rows join all 19 departments | 19 | 19 | exactly |
| the by-sex census table is among the search hits, with a CSV | True | True | exactly |
| 2011 people per department: by-department table = by-sex table (total difference) | 0 | 0 | exactly |
| 2025 cattle total after the join | 12,265,269 | 12,265,269 | exactly |

Data: MGAP/SNIG DICOSE sworn declarations 2024 and 2025 (graph `uruguay-cows`), via SPARQL and MCP on the demo's own endpoint.

## The notebook

- Read it: [https://cow-tools.sophia-labs.com/notebooks/finding-other-data/index.html](https://cow-tools.sophia-labs.com/notebooks/finding-other-data/index.html)
- Download: [finding-other-data.ipynb](https://cow-tools.sophia-labs.com/notebooks/finding-other-data/finding-other-data.ipynb) (also in this workspace: file [`ipynb-finding-other-data`](https://cow-tools.sophia-labs.com/notebooks/finding-other-data/finding-other-data.ipynb) in *Notebook files*)
- For agents: [index.md](https://cow-tools.sophia-labs.com/notebooks/finding-other-data/index.md)

Reading path: previous: [*The herd ledger*](https://cow-tools.sophia-labs.com/guide/notebook-herd-ledger/index.md); next: [*Ask the agent*](https://cow-tools.sophia-labs.com/guide/notebook-ask-the-agent/index.md). The whole path: [`reading-path`](https://cow-tools.sophia-labs.com/guide/reading-path/index.md).

## Metadata

```json
{
 "@context": "https://schema.org",
 "@type": [
  "CreativeWork",
  "SoftwareSourceCode"
 ],
 "name": "Finding other Uruguay data",
 "abstract": "Against the 2011 census (the latest by department in the catalogue's file), Uruguay has 3.73 cattle per person. In Durazno it is 16.7; in Montevideo, 0.0021. The dataset was found by meaning in the catalogue graph, fetched from the link its DCAT record gives, and joined on the department codes.",
 "url": "https://cow-tools.sophia-labs.com/notebooks/finding-other-data/index.html",
 "programmingLanguage": "Python",
 "license": "https://creativecommons.org/licenses/by/4.0/",
 "creditText": "cow-tools, Sophia Labs",
 "encoding": [
  {
   "@type": "MediaObject",
   "contentUrl": "https://cow-tools.sophia-labs.com/notebooks/finding-other-data/finding-other-data.ipynb",
   "encodingFormat": "application/x-ipynb+json"
  }
 ],
 "isBasedOn": {
  "@type": "Dataset",
  "name": "DICOSE – SNIG sworn livestock declarations 2024–2025",
  "url": "https://catalogodatos.gub.uy/dataset/mgap-datos-preliminares-basados-en-la-declaracion-jurada-de-existencias-dicose-snig-2025"
 }
}
```

## Connected (the graph's wires)

- Previous in the reading path: [The herd ledger](https://cow-tools.sophia-labs.com/guide/notebook-herd-ledger/index.md)
- Next in the reading path: [Ask the agent](https://cow-tools.sophia-labs.com/guide/notebook-ask-the-agent/index.md)
- Related: [Durazno](https://cow-tools.sophia-labs.com/guide/department-durazno/index.md), [Montevideo](https://cow-tools.sophia-labs.com/guide/department-montevideo/index.md)

---

This document is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/), credit "cow-tools, Sophia Labs"; the data it describes keeps its own licence (Uruguay's open-data licence).

The cow-tools guide, Notebooks: https://cow-tools.sophia-labs.com/guide/notebook-finding-other-data/ (this page for people) · the whole guide: https://cow-tools.sophia-labs.com/guide/index.md · in Sophia: the graph `cow-tools-guide`, document `notebook-finding-other-data` (MCP `read_document` at https://cow-tools.sophia-labs.com/mcp). CC BY 4.0, credit "cow-tools, Sophia Labs".
