2717 self = <rdflib.plugins.shared.jsonld.context.Context object at 0x7f9651f87690>
226s
2718 source = {'@import': 'so08-context.jsonld', '@protected': True, '@version': 1.1, 'term': 'http://example.org/redefined'}
226s
2719 source_url = None, referenced_contexts = set()
226s
2720
226s
2721 def _read_source(self, source, source_url=None, referenced_contexts=None):
226s
2722 imports = source.get(IMPORT)
226s
2723 if imports:
226s
2724 if not isinstance(imports, str):
226s
2725 raise INVALID_CONTEXT_ENTRY
226s
2726
226s
2727 imported = self._fetch_context(
226s
2728 imports, self.base, referenced_contexts or set()
226s
2729 )
226s
2730 if not isinstance(imported, dict):
226s
2731 > raise INVALID_CONTEXT_ENTRY
226s
2732 E NameError: name 'INVALID_CONTEXT_ENTRY' is not defined