Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mainEntityOfPage.conformsTo to link to profile #72

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion draft/context.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
"id": "@id",
"type": "@type",
"@vocab": "http://schema.org/",
"dct": "http://purl.org/dc/terms/",
"skos": "http://www.w3.org/2004/02/skos/core#",
"conformsTo": "dct:conformsTo",
"prefLabel": {
"@id": "skos:prefLabel",
"@container": "@language"
},
"inScheme": "skos:inScheme",
"Concept": "skos:Concept"
}
}
}
6 changes: 6 additions & 0 deletions draft/examples/invalid/conceptWithMonolingualLabels.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,11 @@
"id": "https://w3id.org/kim/hcrt/scheme"
}
}
],
"mainEntityOfPage": [
{
"id": "https://www.tutory.de/entdecken/dokument/fbbadf1a",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
8 changes: 7 additions & 1 deletion draft/examples/invalid/inLanguageWithoutArray.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,11 @@
"description": "Eine OER",
"license": "https://creativecommons.org/publicdomain/zero/1.0/legalcode",
"dateCreated": "2019-07-03",
"inLanguage": "fr"
"inLanguage": "fr",
"mainEntityOfPage": [
{
"id": "https://example.org/oer.json",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
6 changes: 6 additions & 0 deletions draft/examples/invalid/invalidAboutConceptUri.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,11 @@
"id": "https://w3id.org/kim/hochschulfaechersystematik/scheme"
}
}
],
"mainEntityOfPage": [
{
"id": "https://www.tutory.de/entdecken/dokument/fbbadf1a",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
3 changes: 2 additions & 1 deletion draft/examples/invalid/isBasedOn.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"name": "ZOERR"
},
"dateCreated": "2020-01-01",
"dateModified": "2020-02-02"
"dateModified": "2020-02-02",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
],
"image": "https://example.org/oer/image.png",
Expand Down
3 changes: 2 additions & 1 deletion draft/examples/invalid/keywordWithoutArray.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"id": "https://example.org/oer",
"mainEntityOfPage": {
"dateCreated": "2020-01-01",
"dateModified": "2020-02-02"
"dateModified": "2020-02-02",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
},
"image": "https://example.org/oer/image.png",
"type": [
Expand Down
8 changes: 7 additions & 1 deletion draft/examples/invalid/lrtWithoutArray.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,11 @@
],
"learningResourceType": {
"id": "https://w3id.org/kim/hcrt/course"
}
},
"mainEntityOfPage": [
{
"id": "https://www.tutory.de/entdecken/dokument/fbbadf1a",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
6 changes: 6 additions & 0 deletions draft/examples/invalid/lrtWithoutHcrt.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@
{
"id": "http://purl.org/dcx/lrmi-vocabs/learningResourceType/course"
}
],
"mainEntityOfPage": [
{
"id": "https://www.tutory.de/entdecken/dokument/fbbadf1a",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
3 changes: 2 additions & 1 deletion draft/examples/invalid/mainEntityOf.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"id": "https://example.org/oer",
"mainEntityOfPage": {
"dateCreated": "2020-01-01",
"dateModified": "2020-02-02"
"dateModified": "2020-02-02",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
},
"image": "https://example.org/oer/image.png",
"type": [
Expand Down
6 changes: 6 additions & 0 deletions draft/examples/invalid/missingDefaultLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,11 @@
{
"id": "https://w3id.org/kim/hcrt/course"
}
],
"mainEntityOfPage": [
{
"id": "https://www.tutory.de/entdecken/dokument/fbbadf1a",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
6 changes: 6 additions & 0 deletions draft/examples/invalid/missingDefaultLanguage2.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@
{
"id": "https://w3id.org/kim/hcrt/course"
}
],
"mainEntityOfPage": [
{
"id": "https://www.tutory.de/entdecken/dokument/fbbadf1a",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
8 changes: 7 additions & 1 deletion draft/examples/invalid/noContext.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,11 @@
}
],
"description": "Französisch-Arbeitsblatt",
"license": "https://creativecommons.org/publicdomain/zero/1.0/legalcode"
"license": "https://creativecommons.org/publicdomain/zero/1.0/legalcode",
"mainEntityOfPage": [
{
"id": "https://www.tutory.de/entdecken/dokument/fbbadf1a",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
6 changes: 6 additions & 0 deletions draft/examples/invalid/partWithoutId.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,11 @@
],
"license": "https://creativecommons.org/licenses/by/4.0/"
}
],
"mainEntityOfPage": [
{
"id": "https://www.tutory.de/entdecken/dokument/fbbadf1a",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
6 changes: 6 additions & 0 deletions draft/examples/invalid/typeAsURI.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,11 @@
"type": [
"LearningResource",
"http://vivoweb.org/ontology/core#Course"
],
"mainEntityOfPage": [
{
"id": "https://www.tutory.de/entdecken/dokument/fbbadf1a",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
6 changes: 6 additions & 0 deletions draft/examples/invalid/typeWithoutArray.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,11 @@
{
"id": "https://w3id.org/kim/hcrt/course"
}
],
"mainEntityOfPage": [
{
"id": "https://www.tutory.de/entdecken/dokument/fbbadf1a",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
6 changes: 6 additions & 0 deletions draft/examples/invalid/typeWithoutLearningResource.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,11 @@
"id": "https://example.org/oer",
"type": [
"Course"
],
"mainEntityOfPage": [
{
"id": "https://www.tutory.de/entdecken/dokument/fbbadf1a",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
6 changes: 6 additions & 0 deletions draft/examples/invalid/wrongContextLink.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@
{
"id": "https://w3id.org/kim/hcrt/course"
}
],
"mainEntityOfPage": [
{
"id": "https://www.tutory.de/entdecken/dokument/fbbadf1a",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
6 changes: 6 additions & 0 deletions draft/examples/invalid/wrongDefaultLanguageTag.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@
{
"id": "https://w3id.org/kim/hcrt/course"
}
],
"mainEntityOfPage": [
{
"id": "https://www.tutory.de/entdecken/dokument/fbbadf1a",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
6 changes: 6 additions & 0 deletions draft/examples/valid/addingToContext.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,11 @@
{
"id": "https://w3id.org/kim/hcrt/course"
}
],
"mainEntityOfPage": [
{
"id": "https://example.org/oer.json",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
6 changes: 6 additions & 0 deletions draft/examples/valid/additionalContext.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,11 @@
{
"id": "https://w3id.org/kim/hcrt/course"
}
],
"mainEntityOfPage": [
{
"id": "https://example.org/oer.json",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
6 changes: 6 additions & 0 deletions draft/examples/valid/conceptsAsObjectWithUriOnly.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,11 @@
{
"id": "http://purl.org/dcx/lrmi-vocabs/educationalAudienceRole/student"
}
],
"mainEntityOfPage": [
{
"id": "https://example.org/oer.json",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
6 changes: 6 additions & 0 deletions draft/examples/valid/conceptsWithMultilingualLabels.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,11 @@
"id": "https://w3id.org/kim/hcrt/scheme"
}
}
],
"mainEntityOfPage": [
{
"id": "https://www.tutory.de/entdecken/dokument/fbbadf1a",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
6 changes: 6 additions & 0 deletions draft/examples/valid/contributor.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,11 @@
"type": "Person",
"id": "https://example.org/hansd"
}
],
"mainEntityOfPage": [
{
"id": "https://example.org/oer.json",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
5 changes: 5 additions & 0 deletions draft/examples/valid/highered-course-part.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,10 @@
],
"name": "A-32 two-level page table"
}
],
"mainEntityOfPage": [
{
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
5 changes: 5 additions & 0 deletions draft/examples/valid/highered-course.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,10 @@
],
"name": "OS08: Virtual Memory I"
}
],
"mainEntityOfPage": [
{
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
5 changes: 5 additions & 0 deletions draft/examples/valid/highered-figure.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,10 @@
],
"name": "OS08: Virtual Memory I"
}
],
"mainEntityOfPage": [
{
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
4 changes: 2 additions & 2 deletions draft/examples/valid/isBasedOn.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"mainEntityOfPage": [
{
"id": "https://example.org/oer-description.html",
"type": "Text",
"provider": {
"id": "https://oerworldmap.org/resource/urn:uuid:4062c64d-b0ac-4941-95c2-8116f137326d",
"name": "ZOERR"
},
"dateCreated": "2020-01-01",
"dateModified": "2020-02-02"
"dateModified": "2020-02-02",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
],
"image": "https://example.org/oer/image.png",
Expand Down
6 changes: 6 additions & 0 deletions draft/examples/valid/learningResourceType.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@
{
"id": "https://w3id.org/kim/hcrt/course"
}
],
"mainEntityOfPage": [
{
"id": "https://example.org/oer.json",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
4 changes: 2 additions & 2 deletions draft/examples/valid/mainEntityOf.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"mainEntityOfPage": [
{
"id": "https://example.org/oer-description.html",
"type": "Text",
"provider": {
"id": "https://oerworldmap.org/resource/urn:uuid:4062c64d-b0ac-4941-95c2-8116f137326d",
"name": "ZOERR"
},
"dateCreated": "2020-01-01",
"dateModified": "2020-02-02"
"dateModified": "2020-02-02",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
],
"image": "https://example.org/oer/image.png",
Expand Down
6 changes: 6 additions & 0 deletions draft/examples/valid/oerInMultipleLanguages.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,11 @@
"fr",
"en",
"de"
],
"mainEntityOfPage": [
{
"id": "https://example.org/oer.json",
"conformsTo": "https://w3id.org/kim/lrmi-profile/2021mmdd/"
}
]
}
Loading