Name
jsonld_ctx_to_dict — merge a JSON-LD @context into a dictionary
Synopsis
jsonld_ctx_to_dict(
|
in context_uri varchar, |
| inout dict any, | |
in flags integer); |
Description
jsonld_ctx_to_dict parses the JSON-LD
@context at context_uri and
merges its term definitions into the supplied dict
iterator. The optional flags bitmask controls how
inherited contexts are resolved (default 0 follows
@import and remote contexts). Used by application code
that needs to interpret JSON-LD without fully loading it into the quad
store.
Parameters
context_uri
URI of the JSON-LD @context document to load.
dict
Dictionary to receive merged term definitions (modified in place).
flags
Optional bitmask controlling inherited-context resolution (default 0).