oaknational/national-curriculum-dataset
About
Draft national curriculum in England (2028): machine-readable dataset
Learning & EducationWhat you can do
- software for planning, teaching and assessment;
- services that need to access parts of the curriculum data precisely;
- AI tools (see Using the data with AI);
- research on the curriculum.
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalDraft national curriculum in England (2028): machine-readable dataset
This is the draft national curriculum in England (2028), as written by the Department for Education, in files that computer systems can read. It lists every subject, what pupils are taught in each key stage and year, and the knowledge each subject is built from. People who build software for schools, such as tools for planning lessons, tracking progress or searching the curriculum, can experiment with it to understand how the draft curriculum could be used in their tools.
The national curriculum data in this repository is a draft, published for public consultation. The curriculum is still being finalised, and the dataset's structure, its identifiers and its data may change before the curriculum's final publication. Schools should keep teaching the current statutory national curriculum on GOV.UK until DfE publishes the final version and confirms when it takes effect. Don't align your live products to this draft.
Licences. The data and the documentation are under the Open Government Licence v3.0; the scripts are under the MIT Licence. LICENSE.md says which covers what, and Using the data gives the attribution statement and the conditions.
Browse the documentation | Download the latest release
Contents
- What is this?
- At a glance
- Getting the data
- What you need
- Quick start
- The model
- Example queries
- Using the data with AI
- Identifiers
- Versions and withdrawn content
- Checking a release
- Using the data: licences and conditions
- Documentation
- What is in this repository
- Feedback, support and contact
- Accessibility
- Roadmap
- Acknowledgements
- Related resources
What is this?
The national curriculum sets out what pupils in England's maintained schools must be taught. This dataset holds the draft 2028 national curriculum, as written by the Department for Education:
- the programme structure: its subjects and their aims and purpose; what each subject teaches in each key stage or year group;
- the knowledge taxonomy: the knowledge each subject is built from, from disciplines and strands down to individual content descriptors, with their supporting guidance and examples;
- the temporal structure: phases, key stages and year groups;
- glossaries and subject practices, where a subject has them.
The data is generated from the Department for Education's curriculum database. Every release is checked against an ontology and SHACL shapes, and published as a GitHub release in standard formats: RDF for linked-data tools, and CSV, SQLite and PostgreSQL for everything else.
What you can use it for
It is for anyone who builds with the curriculum, for example:
- software for planning, teaching and assessment;
- services that need to access parts of the curriculum data precisely;
- AI tools (see Using the data with AI);
- research on the curriculum.
Teachers reviewing the draft national curriculum should use the alpha national curriculum website instead.
At a glance
| In the dataset | How many |
|---|---|
| Subject groups | 13 |
| Subjects | 17 |
| Subject aims | 93 |
| Schemes (a subject in one key stage) | 57 |
| Content groups | 482 |
| Disciplines | 13 |
| Strands | 63 |
| Sub-strands | 116 |
| Content descriptors | 2,055 |
| Sub-content descriptors | 1,596 |
| Glossary terms | 212 |
| Classes in the ontology | 28 |
| Properties in the ontology | 54 |
Each release's JSON change log, change-log.json, gives the number of entities of each kind in
each file.
Getting the data
Each release has the whole dataset in several formats. Every file holds all of it.
| Format | File | Best for |
|---|---|---|
| Turtle | national-curriculum-2028.ttl |
Reading by eye, and loading into any RDF tool or SPARQL store |
| N-Triples | national-curriculum-2028.nt |
Processing line by line, and comparing two releases: its lines are sorted |
| TriG, one named graph per part of the dataset | national-curriculum-2028.trig |
SPARQL stores, keeping each part of the dataset in its own graph |
| N-Quads: the TriG's statements, one per line with its named graph | national-curriculum-2028.nq |
Loading the named graphs line by line |
| JSON-LD, compacted, with its context | national-curriculum-2028.jsonld, national-curriculum-2028-context.jsonld |
Web apps and JSON tools |
| Property graph, as CSV with CSV on the Web metadata | national-curriculum-2028-graph-nodes.csv, national-curriculum-2028-graph-relationships.csv, national-curriculum-2028-graph-metadata.json |
Graph databases, spreadsheets and analysis tools |
| SQLite database | national-curriculum-2028.sqlite |
SQL queries with no RDF tools, in apps and AI retrieval pipelines |
| SQL schemas | national-curriculum-schema-postgres.sql, national-curriculum-schema-sqlite.sql |
Creating the tables in a PostgreSQL or SQLite database of your own |
| The ontology and the SHACL shapes | national-curriculum-ontology.ttl, national-curriculum-constraints.ttl |
The model's classes and properties, and validating data against it |
| The SHACL validation report | national-curriculum-2028-validation-report.nt |
Evidence that the release passed every SHACL shape |
Every file of the latest release has an address that ends in its name, so you can download it from the command line. For example, the SQLite database:
curl -L -O https://github.com/oaknational/national-curriculum-dataset/releases/latest/download/national-curriculum-2028.sqlite
The source Turtle files are in data/natcurric-2028/, and the
ontology and shapes in ontology/. There is no public SPARQL endpoint: load a
release file into a SPARQL store of your own, or query it directly.
What you need
| To | You need |
|---|---|
| Use a release file | Nothing from this repository: download the file, and open it with any tool for its format (for example SQLite 3 for the database, or a spreadsheet or graph database for the CSV files) |
| Run the quick start | Python 3.12 or later, and rdflib 7.6 or later |
| Load the data into SQLite or PostgreSQL with the scripts | git, uv 0.13 or later (it installs Python 3.12), and for PostgreSQL a server of version 18 or later |
| Rebuild the release files | All of the above, and Java 21 and Apache Jena 6.1.0 |
The scripts say how to install and run them.
Quick start
Download the whole dataset as one Turtle file:
curl -L -O https://github.com/oaknational/national-curriculum-dataset/releases/latest/download/national-curriculum-2028.ttl
Each piece of the curriculum is an entity with its own identifier, linked to the others. This is one content descriptor of computing, as the data files state it, and the content group that teaches it in key stage 2:
@prefix natcurric: <https://nationalcurriculum.uk/def/natcurric/> .
@prefix nat: <https://nationalcurriculum.uk/id/2028/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
nat:contentdescriptor-collect-data-and-store-analyse-and-present-it-using-a-6f045fb4
a natcurric:ContentDescriptor ,
skos:Concept ;
natcurric:descriptorConnector "to"@en ;
natcurric:hasPupilTier natcurric:ContentForAllPupils ;
natcurric:hasStatutoryStatus natcurric:DraftStatutoryContent ;
natcurric:hasSupportingGuidance nat:guidance-0f5b2cae ;
skos:broader nat:substrand-data-analysis-153b3f0b ;
skos:inScheme nat:knowledge-taxonomy ;
skos:narrower nat:subcontentdescriptor-create-a-simple-spreadsheet-using-basic-arithmetical-b6ed3df4 ,
nat:subcontentdescriptor-present-digital-data-in-a-spreadsheet-including-using-42f556b5 ,
nat:subcontentdescriptor-review-data-in-a-spreadsheet-to-draw-simple-conclusions-699fb140 ;
skos:prefLabel "collect data and store, analyse and present it using a spreadsheet"@en .
nat:contentgroup-ks2-computing-data-analysis-153b3f0b
a natcurric:ContentGroup ;
natcurric:includesContentDescriptor nat:contentdescriptor-collect-data-and-store-analyse-and-present-it-using-a-6f045fb4 ,
nat:contentdescriptor-understand-why-digital-data-needs-to-be-high-quality-and-9f9f95e9 ,
nat:contentdescriptor-use-digital-data-to-help-check-claims-and-inform-familiar-e9fcf314 ;
natcurric:includesStrandOrSubStrand nat:substrand-data-analysis-153b3f0b ;
natcurric:isContentGroupOf nat:scheme-ks2-computing ;
rdfs:label "Computing Key Stage 2 - Data analysis"@en .
skos:broader places the content descriptor in its sub-strand, and skos:narrower lists its
three sub-content descriptors. It has supporting guidance, is for all pupils, and its draft
statutory status is natcurric:DraftStatutoryContent. The content group says that key stage 2
computing (nat:scheme-ks2-computing) teaches it, with two other content descriptors of the same
sub-strand.
To list the curriculum's subjects, with Python and rdflib
(pip install rdflib):
from rdflib import Graph
graph = Graph().parse("national-curriculum-2028.ttl", format="turtle")
QUERY = """
PREFIX natcurric: <https://nationalcurriculum.uk/def/natcurric/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?subject ?label WHERE { ?subject a natcurric:Subject ; rdfs:label ?label } ORDER BY ?label
"""
for subject, label in graph.query(QUERY):
print(f"{label}: {subject}")
To load the data into SQLite or PostgreSQL instead, see the scripts.
The model
A content group is where the parts of the dataset meet: it belongs to a scheme (a subject in a key stage), includes one strand or sub-strand of the knowledge taxonomy and some of its content descriptors, and may name the year groups in which they are taught.
Each part of the dataset is a hierarchy. Each level below gives its class in the ontology.
The programme structure, from the curriculum down to what each subject teaches:
- the curriculum (
Curriculum)- subject groups (
SubjectGroup), for example The sciences- subjects (
Subject), for example Biology, each with its aims (Aim)- schemes (
Scheme): a subject in one key stage, for example KS3 Geography- content groups (
ContentGroup): what a scheme teaches from one strand or sub-strand
- content groups (
- schemes (
- subjects (
- subject groups (
The knowledge taxonomy, a SKOS hierarchy from each discipline down to the smallest piece of knowledge:
- disciplines (
Discipline), for example Computing- strands (
Strand), for example Data analysis and Artificial Intelligence (AI)- sub-strands (
SubStrand), in some strands only, for example Data analysis- content descriptors (
ContentDescriptor), for example collect data and store, analyse and present it using a spreadsheet- sub-content descriptors (
SubContentDescriptor), for example create a simple spreadsheet using basic arithmetical operations
- sub-content descriptors (
- content descriptors (
- sub-strands (
- strands (
Where a strand has no sub-strands, its content descriptors sit directly under it.
The temporal structure:
- phases (
Phase): Primary and Secondary- key stages (
KeyStage): Key Stage 1 to Key Stage 4- year groups (
YearGroup): Year 1 to Year 11
- year groups (
- key stages (
Subjects
| Subject group | Subjects |
|---|---|
| Art and design | Art and design |
| Citizenship | Citizenship |
| Computing | Computing |
| Design and technology | Design and technology, Food and nutrition |
| English | Drama, English |
| Geography | Geography |
| History | History |
| Languages | Languages |
| Mathematics | Mathematics |
| Music | Music |
| Physical education | Physical education |
| Relationships, sex and health education | Relationships, sex and health education |
| The sciences | Biology, Chemistry, Physics |
The data model shows the main classes and links as a diagram, and lists every link in its Object properties table. The ontology reference lists every class and property.
Example queries
These queries run on the Turtle file of a release, in any SPARQL store or with rdflib. Each one is tested against the data, and returns the rows shown. The SPARQL examples give many more.
What key stage 2 computing teaches
PREFIX natcurric: <https://nationalcurriculum.uk/def/natcurric/>
PREFIX nat: <https://nationalcurriculum.uk/id/2028/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT ?group ?descriptor WHERE {
?contentGroup natcurric:isContentGroupOf nat:scheme-ks2-computing ;
rdfs:label ?group ;
natcurric:includesContentDescriptor ?contentDescriptor .
?contentDescriptor skos:prefLabel ?descriptor .
}
ORDER BY ?group ?descriptor
Sample output (25 rows):
group | descriptor
---------------------------------------------------|--------------------------------------------------------------------------
Computing Key Stage 2 - Algorithms and programming | create multi-step programs by converting algorithms into computer programs…
Computing Key Stage 2 - Algorithms and programming | evaluate, test and debug simple programs against their intended purposes
Computing Key Stage 2 - Artificial Intelligence (AI) | describe in simple terms how machine learning uses patterns in data to make predictions
…
The strands and sub-strands of computing
PREFIX natcurric: <https://nationalcurriculum.uk/def/natcurric/>
PREFIX nat: <https://nationalcurriculum.uk/id/2028/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT ?strand ?subStrand WHERE {
nat:subject-computing natcurric:coversStrand ?strandEntity .
?strandEntity skos:prefLabel ?strand .
OPTIONAL {
?subStrandEntity a natcurric:SubStrand ;
skos:broader ?strandEntity ;
skos:prefLabel ?subStrand .
}
}
ORDER BY ?strand ?subStrand
Sample output (6 rows):
strand | subStrand
-----------------------------------------------|------------------------------------------
Algorithms, programs and systems | Algorithms and programming
Algorithms, programs and systems | Computer systems
Data analysis and Artificial Intelligence (AI) | Artificial Intelligence (AI)
Data analysis and Artificial Intelligence (AI) | Data analysis
Digital literacy and creative making | Creating and evaluating digital artefacts
Digital literacy and creative making | Digital literacy
Using the data with AI
AI tools that plan lessons, tutor pupils or generate teaching materials need curriculum knowledge that is accurate, structured and citable. This dataset can ground them:
- every piece of the curriculum has an identifier, so an AI tool can cite exactly which content descriptor or aim an answer draws on;
- every link is typed, so a tool can follow the curriculum's own structure (from a content descriptor to its strand, its key stage and its year groups) rather than infer it;
- every release is checked against the SHACL shapes, and the text is the curriculum's own.
The dataset is a graph: each piece of the curriculum is a node, and each link between two pieces is a typed relationship. So it loads straight into a graph database, already modelled: the RDF files into an RDF graph database or SPARQL store, and the property graph CSV files into a property graph database, whose bulk loaders read CSV. An AI agent can then answer a question by following the curriculum's own links with a graph query. For tools that work with tables, the SQLite database holds the current curriculum as tables. The RDF is the canonical form.
When an AI tool presents curriculum content, it should show the curriculum's own words and say which release they come from. An AI agent working with this repository should read its instructions first. Training a model on the data is allowed too: see Training AI and machine-learning models.
Identifiers
Every entity has an IRI on https://nationalcurriculum.uk, for example
https://nationalcurriculum.uk/id/2028/subject-history. During the draft these IRIs are
unique names: they may change before final publication, and they do not resolve, so opening
one in a browser does not return the data. How they are maintained after final publication,
and how they come to resolve, will be set out when the curriculum is published.
Versions and withdrawn content
Releases follow Semantic Versioning. The dataset, the ontology and the shapes share one version.
- A major version (2.0.0) may break what users rely on: content withdrawn, or a class or property withdrawn, removed, or with a changed domain or range.
- A minor version (1.1.0) takes nothing away: new or moved content, changed links, new classes or properties, or a change to a SHACL shape.
- A patch version (1.0.1) changes only text, such as a typo in a label.
While the data is a draft, before 1.0.0, each step moves down one: a breaking change is a minor version (0.2.0), and any other change a patch.
Content removed from the curriculum is not deleted. It is kept, marked owl:deprecated true,
in a *-withdrawn.ttl file beside the file it came from, and its identifier is never reused.
Each release's change log lists every entity that was added, changed and withdrawn, with the
changes that may break what you rely on first; the release also has it in JSON, for tools. A
published release never changes: a correction is a new release.
To hear about each new release, choose Watch, then Custom, then Releases on this repository's page. Keeping up to date gives the other ways to hear about a release, and explains how to read a change log, find withdrawn content and update your copy of the data.
Checking a release
Each release has checksums-sha256.txt, with the SHA-256 checksum of every file, and build
provenance attestations that show the files were built by this repository's release workflow.
To check files you have downloaded:
sha256sum --ignore-missing -c checksums-sha256.txt
gh attestation verify national-curriculum-2028.ttl \
--repo oaknational/national-curriculum-dataset \
--signer-workflow oaknational/national-curriculum-dataset/.github/workflows/release.yml \
--deny-self-hosted-runners
The last two options check that the file was signed by the release workflow itself, on one of
GitHub's own machines, and not by any other workflow. Check checksums-sha256.txt the same way,
as the checksums are only as good as that file.
The release files are built the same way every time, so you can also rebuild any of them with the scripts and compare the checksums.
Using the data: licences and conditions
Attribution
The data and the documentation are under the Open Government Licence v3.0: you may copy, adapt and publish them, for any purpose, including commercial use, as long as you include this attribution statement:
Contains public sector information licensed under the Open Government Licence v3.0.
The scripts are under the MIT Licence, which asks you to keep its copyright notice with any copy of them.
Where the data comes from
| Part | Where it comes from | Licence |
|---|---|---|
The curriculum content in data/natcurric-2028/: subjects, programmes of study, the knowledge taxonomy, glossaries and subject practices |
The Department for Education's curriculum database, copied as it is and turned into linked data by a build that checks every file | Open Government Licence v3.0 (Crown copyright) |
The curriculum's phases, key stages and year groups (temporal-structure.ttl) |
Written for this dataset | Open Government Licence v3.0 (Crown copyright) |
The catalog (catalog.ttl): the releases and their files |
Written by the build, for the dataset's publisher, Oak National Academy | Open Government Licence v3.0 (copyright Oak National Academy) |
The ontology and the SHACL shapes in ontology/ |
The Department for Education | Open Government Licence v3.0 (Crown copyright) |
| The documentation | Oak National Academy | Open Government Licence v3.0 (copyright Oak National Academy) |
| The scripts and the workflows | Oak National Academy | MIT Licence (copyright Oak National Academy) |
| The release files | Built from the files above by the scripts | As the files they are built from |
The build changes none of the curriculum's words. The statutory curriculum is the one the Department for Education publishes: if this dataset and the published curriculum differ, the published curriculum is right, and the difference is a problem with the dataset to report.
Names and logos
Neither licence covers the names or logos of Oak National Academy or the Department for Education, or the Royal Arms. Do not use them in a way that suggests either organisation made, checked or endorses your product or service.
Training AI and machine-learning models
You may use the data to train, fine-tune or evaluate AI and machine-learning models: the Open Government Licence allows any use, including this one. Include the attribution statement in the model's documentation, and say which release you used. Content generated by a model is not the curriculum: present the curriculum's own words when you quote it.
Corrections and takedown
- An error in the data or the files: open an issue, as Getting help describes. Every issue is acknowledged within 10 working days. A correction is made in the next release, and the change log lists it; a published release never changes.
- What is included in the national curriculum: respond to the Department for Education's consultation, not this repository (see the contributing guide).
- Content that should not be here (e.g. personal data or material that infringes someone's rights): do not quote it in a public issue. Tell the maintainers privately, through one of the private routes in the security policy. The content is removed from the next release, and in a serious case, such as personal data, the maintainers can delete the releases that hold it.
Documentation
| Guide | What it covers |
|---|---|
| User guide | Where to start |
| Data model | The classes, how they link, the identifiers and the files |
| SPARQL examples | Example queries, each tested against the data before every release |
| Code examples | Querying the data from Python, JavaScript and curl |
| Validation | What the SHACL shapes check, and how to run them |
| Keeping up to date | Hearing about new releases, reading their change logs, finding withdrawn content and updating your copy |
| Property graph format | The CSV files, for graph databases and analysis tools |
| Ontology reference | Every class and property, with the rules the shapes check |
| Standards compliance | The standards the dataset follows, and how |
| Scripts | Rebuilding the release files and loading the data into a database |
| Change log | Every release, with what changed |
What is in this repository
| Folder or file | What it holds |
|---|---|
data/natcurric-2028/ |
The dataset in Turtle. catalog.ttl describes the releases and their files, curriculum.ttl names the curriculum, and temporal-structure.ttl holds its phases, key stages and year groups. subjects/ has a folder for each subject, with its programme structure, its knowledge taxonomy and, where it has one, its glossary |
ontology/ |
The ontology, national-curriculum-ontology.ttl, and the SHACL shapes, national-curriculum-constraints.ttl |
docs/ |
The user guide and the reference documents listed under Documentation |
docs/releases/ |
Each release's change log, in Markdown and JSON, and the structure of the JSON |
scripts/ |
The scripts that build the release files from the Turtle files and check them, and that load the data into SQLite or PostgreSQL |
tests/ |
The tests of the scripts |
.github/ |
The workflows, which test the scripts, publish each release and check the links; the issue forms, the issue labels and the repository's rules |
pyproject.toml, uv.lock, .python-version |
The Python version and the locked dependencies of the scripts |
LICENSE.md, licences/ |
Which licence covers what; the full texts of the Open Government Licence v3.0 and the MIT Licence |
CONTRIBUTING.md, SUPPORT.md, SECURITY.md, CODE_OF_CONDUCT.md |
How to give feedback, how to get help, how to report a security vulnerability, and the code of conduct |
AGENTS.md |
Instructions for AI agents that work with the dataset |
Feedback, support and contact
Feedback on the data, the model and the documentation is welcome, as an issue: see Getting help and the contributing guide. Feedback on what the curriculum itself says goes to the Department for Education's consultation feedback form. Pull requests are not accepted during the draft. Everyone who takes part follows the code of conduct. To report a security vulnerability, see the security policy.
To contact the maintainers, open an issue.
Accessibility
The documentation is written to meet the Web Content Accessibility Guidelines (WCAG) 2.2 at level AA: headings in order, link text that makes sense on its own, tables with headers, and a full text description of every diagram. If something in the documentation is hard to use, tell us with the documentation form in Getting help.
Roadmap
- Now: draft releases, for evaluation and feedback.
- Handover: the Department for Education becomes the dataset's publisher, and sets up how its identifiers resolve.
- Final publication of the curriculum: a first stable release, version 1.0.0, after which the identifiers are kept.
If the dataset stops being maintained, a notice at the top of this README and a pinned issue will say so in advance, with the date and what replaces it, if anything. The repository is then archived: every release stays available to download, and no identifier is used again for anything else.
Acknowledgements
- The Department for Education wrote the curriculum content and holds it in its curriculum database, which this dataset is built from. The ontology and the SHACL shapes are the Department for Education's too.
- Oak National Academy publishes the dataset during the draft.
- The dataset is built and checked with open-source software, including rdflib, pySHACL and Apache Jena.
Related resources
- The draft national curriculum (2028) website (Department for Education)
- The current statutory national curriculum on GOV.UK (Department for Education)
- Oak National Academy
- Designing URI sets for the UK public sector
Explore related projects
Loading…