- active graph
-
The name of the currently active graph that the processor should use when processing.
- active object
-
The currently active object that the processor should use when processing.
- active property
-
The currently active property or keyword that the processor should use when processing.
The active property is represented in the original lexical form,
which is used for finding coercion mappings in the active context.
- active subject
-
The currently active subject that the processor should use when processing.
- add value
-
Used as a macro within various algorithms as a way to add a value
to an entry in a map (object) using a specified key.
The invocation may include an as array flag defaulting to
false.
- If as array is
true
and the value of key in object does not exist
or is not an array, set it to a new array
containing any original value.
- If value is an array,
then for each element v in value,
use add value recursively to add v to key in entry.
- Otherwise:
- If key is not an entry in object,
add value as the value of key in object.
- Otherwise
- If the value of the key entry in object is not an array,
set it to a new array containing the original value.
- Append value
to the value of the key entry in object.
- explicit inclusion flag
-
A flag specifying that for properties to be included in the output,
they must be explicitly declared in the matching frame.
- framing state
-
A map containing values for
the object embed flag,
the require all flag,
the embedded flag,
used internally to help determine if object embedding is appropriate,
the explicit inclusion flag,
and the omit default flag.
- IRI compacting
-
Used as a macro within various algorithms as to reduce the language used to describe
the process of compacting a string var representing an IRI or keyword
using an active context either specified directly, or coming from the scope of
the algorithm step using this term.
An optional value is used, if explicitly provided.
Unless specified, the vocab flag defaults to `true`,
and the reverse flag defaults to `false`.
- Return the result of using the IRI Compaction algorithm,
passing active context,
var,
value (if supplied),
vocab,
and result.
- IRI expanding
-
Used as a macro within various algorithms as to reduce the language used to describe
the process of expanding a string value representing an IRI or keyword
using an active context either specified directly, or coming from the scope of
the algorithm step using this term.
Optional defined and local context arguments are used, if explicitly provided.
Unless specified,
the document relative flag defaults to `false`,
and the vocab flag defaults to `true`.
- Return the result of using the IRI Expansion algorithm,
passing active context,
value,
local context (if supplied),
defined (if supplied),
document relative,
and vocab.
- input frame
-
The initial Frame provided to the framing algorithm.
- JSON-LD input
-
The JSON-LD data structure that is provided as input to the algorithm.
- JSON-LD output
-
The JSON-LD data structure that is produced as output by the algorithm.
- map of flattened subjects
-
A map of subjects that is the result of the
Node Map Generation algorithm.
- object embed flag
-
A flag specifying that node objects should be directly embedded in the output,
instead of being referred to by their IRI.
- omit default flag
-
A flag specifying that properties that are missing from the JSON-LD input,
but present in the input frame,
should be omitted from the output.
- omit graph flag
-
A flag that determines if framing output is always contained within a
@graph entry,
or only if required to represent multiple node objects.
- processor state
-
The processor state,
which includes the active context, active subject, and active property.
The processor state is managed as a stack with elements from the previous processor state
copied into a new processor state when entering a new JSON object.
- require all flag
-
A flag specifying that all properties present in the input frame
must either have a default value
or be present in the JSON-LD input
for the frame to match.