Skip to content

Instantly share code, notes, and snippets.

@danbri
Created July 23, 2020 18:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danbri/6373de64dd9820a25aba0d6dd52799b0 to your computer and use it in GitHub Desktop.
Save danbri/6373de64dd9820a25aba0d6dd52799b0 to your computer and use it in GitHub Desktop.
TYPES: Quiz, Question, eduQuestionType, Answer, hasPart, assesses, about, educationalAlignment
PRE-MARKUP:
Quiz is a test of knowledge, skills, or abilities; it can contain one-to-multiple questions with answers.
MICRODATA:
<!-- JSON-LD example only -->
RDFA:
<!-- JSON-LD example only -->
JSON:
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Quiz",
"name": "Quiz about fractions",
"hasPart": {
"@type": "Question",
"url": "https://www.test.example.com/practice-problems-fractions",
"educationalAlignment": [
{
"@type": "AlignmentObject",
"alignmentType": "educationalSubject",
"targetName": "Mathematics"
},
{
"@type": "AlignmentObject",
"alignmentType": "educationalSubject",
"targetName": "Algebra"
},
{
"@type": "AlignmentObject",
"alignmentType": "educationalLevel",
"targetName": "Grade 5 » Number & Operations—Fractions » Apply and extend previous understandings of multiplication and division. » 3",
"educationalFramework": "Common Core",
"targetUrl": "http://www.corestandards.org/Math/Content/5/NF/B/3/"
}
],
"about": "Fractions",
"educationalLevel": "intermediate",
"eduQuestionType": "Multiple choice",
"learningResourceType": "Practice problem",
"assesses": "Multiplying fractions by whole numbers",
"name": "Choose the model",
"comment": {
"@type": "Comment",
"text": "This is a hint about the question."
},
"encodingFormat": "text/markdown",
"text": "Which model represents the product $$2 * \frac{2}{3}$$?",
"suggestedAnswer": [
{
"@type": "Answer",
"@id": "http://example.org/fractions/practice-problem#answer_2",
"encodingFormat": "text/html",
"text": "<img src=\"www.test.com/practice-problems-fractions/…image2.png\" alt=\"Answer 2\" />"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment