Skip to main content
Query Knowledge Graph for the prerequisite standards for a given Academic Standard. Generate practice questions using these prerequisite standards’ Learning Components.
Our current Learning Progressions dataset from Student Achievement Partners ↗ (SAP) maps Common Core State Standards for Mathematics into logical sequences. These sequences do not name definitive prerequisites – their relationships simply indicate what might be helpful in a given circumstance.

What you’ll do

  • Find prerequisite standards for a target CCSS standard using Learning Progressions
  • Unpack prerequisite standards into supporting Learning Components
  • Package Knowledge Graph data for an LLM to generate practice questions

What you’ll need

  • API key and base URL in the Learning Commons Platform ↗
  • OpenAI API key and SDK (pip install openai for Python or npm install openai for JavaScript)
  • curl ↗, Python, or Node

Steps

1

Set up environment variables

.env
2

Get the prerequisite standards for 6.NS.B.4

Use the GET /academic-standards/search endpoint to find the 6.NS.B.4 standard.Then, use GET /academic-standards/{uuid}/prerequisites to get its prerequisites:
Response
3

Get Learning Components for the prerequisite standards

Use the GET /academic-standards/{uuid}/learning-components endpoint for each prerequisite standard:
Response
You will use the prerequisiteLearningComponents array to generate practice questions in the next step.
4

Generate practice problems

Package the Academic Standards and Learning Components data to generate practice questions.
Use that JSON in a prompt so the LLM has full context when creating practice questions:
Example response
You can now integrate these practice questions into your product workflow!
5

Keep exploring

We scoped to a single standard for clarity, but you can also extend prerequisite chains across grade levels or explore other target standards and subject areas.For more comprehensive learning experiences, extend your queries to include lessons, assessments, or instructional routines.