From ceed9b97d016f5818ccef549030cd7ad6fdc0417 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Tue, 10 Jan 2017 17:01:28 +0100 Subject: [PATCH] Entries should be a set instead of lists This allows for better framing when two entries have the same @id --- senpy/schemas/context.jsonld | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/senpy/schemas/context.jsonld b/senpy/schemas/context.jsonld index 939df0b..136c683 100644 --- a/senpy/schemas/context.jsonld +++ b/senpy/schemas/context.jsonld @@ -16,16 +16,20 @@ "@id": "me:hasEntities" }, "suggestions": { - "@id": "me:hasSuggestions" + "@id": "me:hasSuggestions", + "@container": "@set" }, "emotions": { - "@id": "onyx:hasEmotionSet" + "@id": "onyx:hasEmotionSet", + "@container": "@set" }, "sentiments": { - "@id": "marl:hasOpinion" + "@id": "marl:hasOpinion", + "@container": "@set" }, "entries": { - "@id": "prov:used" + "@id": "prov:used", + "@container": "@set" }, "analysis": { "@id": "prov:wasGeneratedBy"