diff --git a/README.md b/README.md index 7553511..c8591c1 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ The objective of a Linked Data Event Stream is to allow consumers to replicate a The HTML specification can be accessed from [here](https://w3id.org/ldes/specification). +The JSON-LD context can be accessed from [here](https://w3id.org/ldes/context). + This specification uses [TREE](https://w3id.org/tree/specification) for its collection and fragmentation features, which in its turn is compatible to other specifications such as Activity Streams, DCAT-AP, LDP or Shape Trees. If you are new to the concept of Linked Data Event Stream or Linked Data, [this short training](https://academy.europa.eu/courses/publishing-data-with-linked-data-event-streams-why-and-how) introduces the main concepts. diff --git a/context.jsonld b/context.jsonld new file mode 100644 index 0000000..6b55a02 --- /dev/null +++ b/context.jsonld @@ -0,0 +1,28 @@ +{ + "@context": { + "tree": "https://w3id.org/tree#", + "ldes": "https://w3id.org/ldes#", + "shape": { "@type":"@id", "@id":"tree:shape"}, + "xsd": "http://www.w3.org/2001/XMLSchema#", + "EventStream": "ldes:EventStream", + "EventSource": "ldes:EventSource", + "RetentionPolicy": "ldes:RetentionPolicy", + "LatestVersionSubset": "ldes:LatestVersionSubset", + "DurationAgoPolicy": "ldes:DurationAgoPolicy", + "PointInTimePolicy": "ldes:PointInTimePolicy", + "node": {"@type": "@id", "@id": "tree:node"}, + "members": {"@type": "@id", "@id": "tree:member", "@container":"@list"}, + "relations": {"@type": "@id", "@id": "tree:relation"}, + "view": {"@type": "@id", "@id": "tree:view"}, + "path": {"@container": "@list", "@id": "tree:path", "@type": "@id"}, + "value": {"@id":"tree:value"}, + "timestampPath": {"@id":"ldes:timestampPath", "@type":"@id", "@container":"@list"}, + "versionOfPath": {"@id":"ldes:versionOfPath", "@type":"@id", "@container":"@list"}, + "retentionPolicies": {"@id":"ldes:retentionPolicy", "@type": "@id", "@container":"@list"}, + "amount": {"@id":"ldes:amount","@type":"xsd:nonNegativeInteger"}, + "pointInTime": {"@id":"ldes:pointInTime","@type":"xsd:dateTime"}, + "versionKey": {"@id":"ldes:versionKey", "@type":"@id", "@container":"@list"}, + "versionMaterializationOf": {"@id":"ldes:versionMaterializationOf", "@type":"@id"}, + "versionMaterializationUntil": {"@id":"ldes:versionMaterializationUntil","@type":"xsd:dateTime"} + } +} \ No newline at end of file