processingMode to json-ld-1.1.documentLoader option and defaults into a load_document method
to also handle JSON (eventually HTML) parsing.rel=alternate for non-JSON-LD docs.lxml.html to load HTML and parse in load_html.
@propagate in context processing and propagate option.@import. (Some issues confusing recursion errors for invalid
contexts).override_protected and propagate optional arguments to
_create_term_definition and _process_context instead of using option
argument._process_contexts, as logic is
too complicated for pre-loading. Removes _find_context_urls and
_retrieve_context_urls.ContextResolver which can use a shared LRU cache for storing
externally retrieved contexts, and the result of processing them relative
to a particular active context.frozendict from context processing and reduce deepcopies.@base in initial context and don't resolve a relative IRI
when setting @base in a context, so that the document location can
be kept separate from the context itself.mappings and processingMode
to enhance preprocessed context cachability.@type as a term under certain circumstances.@json and @none as values of @type.@container includes @type, @type must be @id or @vocab.@index and @direction.@prefix._create_term_definition._is_absolute_iri to use a reasonable regular expression and some
other _expand_iri issues.@direction.@type: @none.@included.@container: @set on @type._expand_value adds @direction from term definition.@direction when expanding.type_scoped_ctx when expanding values of @type.override_protected properly when creating expansion
contexts._create_node_map based on 1.1 algorithm.@included.merge_node_maps for @type.requireAll from True to False.omitGraph and pruneBlankNodeIdentifiers
based on processing mode._remove_preserve to _cleanup_preserve which happens before
compaction._cleanup_null which happens after compaction.@included.-d and -m test runner options in favor of just
listing as arguments.return instead of raise StopIteration to terminate generator.@graph. Fixes 1.0 compatibility issue.pyld[requests] or create an
explicit dependency on requests seperately. Use pyld[aiohttp] for
[aiohttp][].request_document_loader. If
[Requests][] is not available, aiohttp_document_loader is used. When
[aiohttp][] is not availabke, a dummy_document_loader is used.dummy_document_loader which allows libraries to depend on
pyld without depending on [Requests][] or [aiohttp][].-l to specify the
default document loader.@type terms.@id and @index, with @set variations.@id and @type, with @set variations.