xAPI-Spec
xAPI-Spec copied to clipboard
JSON-LD @context (RDF Linked Data)
"JSONLD @context for TinCanSchema (Experience API: xAPI)" https://github.com/RusticiSoftware/TinCanSchema/issues/6
- https://en.wikipedia.org/wiki/JSON-LD
- https://www.npmjs.com/package/schema-jsonld-context
-
@context
- https://www.w3.org/TR/json-ld/#the-context
- https://www.w3.org/TR/json-ld/#advanced-context-usage
- https://www.w3.org/TR/json-ld/#interpreting-json-as-json-ld
-
"@container": "@list"
https://www.w3.org/TR/json-ld/#sets-and-lists (rdf:List
,rdf:first
,rdf:rest
)` - https://www.w3.org/TR/json-ld/#named-graphs ("quads";
@id
,@graph
)
(Schema.org can be represented in Microdata, RDFa, and JSONLD.)
From https://github.com/RusticiSoftware/TinCanSchema/issues/7 :
From http://schema.org/Action :
An action performed by a direct agent and indirect participants upon a direct object. Optionally happens at a location with the help of an inanimate instrument. The execution of the action may produce a result. Specific action sub-type documentation specifies the exact expectation of each argument/role.
| Docs: https://schema.org/docs/actions.html
- https://schema.org/Action#examples > "JSON-LD"
- https://schema.org/EntryPoint
... Understanding and Justifying Linked Data:
- 5 ★ Linked Data:
https://wrdrd.com/docs/consulting/knowledge-engineering#fivestardata
- https://wrdrd.com/docs/consulting/knowledge-engineering#semantic-web-standards
- RDFa 1.1 Core Context:
https://wrdrd.com/docs/consulting/knowledge-engineering#rdfa-1-1-core-context
- https://www.w3.org/2011/rdfa-context/rdfa-1.1
- http://www.w3.org/2013/json-ld-context/rdfa11
- JSON-LD: https://wrdrd.com/docs/consulting/knowledge-engineering#json-ld
- Schema.org:
https://wrdrd.com/docs/consulting/knowledge-engineering#schema-org
- "Course, CourseInstance, Event [Schema.org Course Extension]"
https://github.com/schemaorg/schemaorg/issues/195
- https://schema.org/Course
- https://schema.org/CourseInstance
- WebAPI https://github.com/schemaorg/schemaorg/issues/1423 http://pending.webschemas.org/WebAPI
- "Course, CourseInstance, Event [Schema.org Course Extension]"
https://github.com/schemaorg/schemaorg/issues/195
- RDFJS: https://wrdrd.com/docs/consulting/knowledge-engineering#rdfjs
We have some example statements using JSON-LD @context here: https://github.com/adlnet/xapi-ontology.
But from what we've heard from the community...moving from JSON to JSON-LD would likely be a breaking change. So we have it in place, but most likely won't be applied until the next version of the spec.
BTW, we recently applied JSON-LD (linked data) approaches to the guidance around xAPI profiles, here: https://github.com/adlnet/xapi-profiles
good to hear, thanks! There are more and more resources with (schema.org,) JSONLD and/or RDFa; being able to do everything with just one parser would/will be outstanding.
AAIU, the schema.org/educationalAlignment work came from LRMI.
schema.org/Course , schema.org/CourseInstance , and schema.org/EducationEvent are all live now.
https://twitter.com/westurner/status/870336788723847168 ...
H5P looks really cool and is integratable with {WordPress, Moodle, Drupal}.
https://h5p.org/content-types-and-applications
H5P does support TinCan / xAPI: https://h5p.org/documentation/x-api
With a bit of schema.org JSONLD / RDFa it'd be really easy to find educational activities.