scotgov-stats

Queries Scottish government statistics SPARQL endpoint for RDF DataCube information.

1|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/danbri/forgetmenot --skill scotgov-stats
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scotgov-stats
Source: https://github.com/danbri/forgetmenot/tree/main/skills/scotgov-stats
Command: npx skills add https://github.com/danbri/forgetmenot --skill scotgov-stats

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill resolves the difficulty of querying fragmented Scottish government datasets by providing a direct interface to the official statistics.gov.scot SPARQL endpoint.

Core Features & Use Cases

  • SPARQL Querying: Execute complex semantic queries against Scottish economic, demographic, and environmental data.
  • Data Integration: Join local Scottish statistics with broader UK Parliament data to analyze regional impacts of national policies.
  • Use Case: Researchers can use this to correlate specific Scottish council-level population data with parliamentary constituency boundaries to assess the impact of public-sector finance decisions.

Quick Start

Use the scotstats skill to query the dataset for current population estimates across Scottish geographic boundaries.

Frequently Asked Questions about scotgov-stats

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query Scottish government statistics using SPARQL?

Query Scottish government statistics by executing SPARQL 1.1 queries against the statistics.gov.scot endpoint to retrieve structured RDF DataCube information for regional analysis.

What kind of data can I retrieve from the statistics.gov.scot SPARQL endpoint?

RDF DataCube datasets from the statistics.gov.scot endpoint provide official economic, demographic, and public-sector data structured for Scottish administrative zones and council-level boundaries.

Can I join Scottish council-level data with UK Parliament boundaries?

Yes, you can join local Scottish statistics with broader UK Parliament data to correlate population estimates across parliamentary constituency boundaries and analyze regional policy impacts.

Do I need SPARQL 1.1 compatibility to analyze Scottish demographic data?

SPARQL 1.1 compatibility is required to query the Scottish government statistics endpoint, execute complex semantic queries, and retrieve structured RDF DataCube information for administrative zones.

Why does the Scottish government statistics endpoint stop working intermittently?

The Scottish government statistics endpoint experiences intermittent availability, so the query mechanism implements retry logic to handle temporary connection failures and ensure successful RDF DataCube retrieval.