From 66e18ed5eb7dbd97a20ef2eb6615ee666b732594 Mon Sep 17 00:00:00 2001 From: Maarten Segers Date: Thu, 13 Jun 2024 08:46:06 +0200 Subject: [PATCH] Rename tree:Collection Use ldes:EventStream cf. https://github.com/Informatievlaanderen/VSDS-Linked-Data-Interactions/issues/210 --- src/controllers/eventstreamController.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/eventstreamController.js b/src/controllers/eventstreamController.js index a513ab8..bc7b2d3 100644 --- a/src/controllers/eventstreamController.js +++ b/src/controllers/eventstreamController.js @@ -176,6 +176,7 @@ export async function getEventstream(req, res) { let collectionURI = baseURICollection + 'dataset/' + institution + '/' + md5(institution + adlibdatabase); let fragmentContent = { "@context": { + "ldes": "https://ldes.qa.stad.gent/ldes/", "prov": "http://www.w3.org/ns/prov#", "tree": "https://w3id.org/tree#", "sh": "http://www.w3.org/ns/shacl#", @@ -202,7 +203,7 @@ export async function getEventstream(req, res) { "@type": "tree:Node", "viewOf": { "@id": collectionURI, - "@type": "tree:Collection" + "@type": "ldes:EventStream" }, "@included": [] };