From c89580ebb95255c5b0b20ceb3863bf83059dd12c Mon Sep 17 00:00:00 2001 From: Simon Clark <52653938+jsimonclark@users.noreply.github.com> Date: Tue, 16 Apr 2024 14:42:31 +0200 Subject: [PATCH] Update ttl_to_context.py --- sphinx/ttl_to_context.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sphinx/ttl_to_context.py b/sphinx/ttl_to_context.py index 861b2c4..9b6929b 100644 --- a/sphinx/ttl_to_context.py +++ b/sphinx/ttl_to_context.py @@ -25,6 +25,9 @@ def generate_jsonld_context(ttl_file, predicate_uri, label_uri='http://www.w3.or CHAMEO = rdflib.Namespace("https://w3id.org/emmo/domain/chameo#") g.bind('chameo', CHAMEO) + EMMO = rdflib.Namespace("https://w3id.org/emmo#") + g.bind('emmo', EMMO) + context = {} object_properties = {} other_entries = {}