schema_salad.jsonld_context
Module Contents
Functions
|
|
|
|
|
|
|
Add missing identity entries. |
|
- schema_salad.jsonld_context.pred(datatype, field, name, context, defaultBase, namespaces)
- schema_salad.jsonld_context.process_type(t, g, context, defaultBase, namespaces, defaultPrefix)
- Parameters:
t (MutableMapping[str, Any]) –
g (rdflib.Graph) –
context (schema_salad.utils.ContextType) –
defaultBase (str) –
namespaces (Dict[str, rdflib.namespace.Namespace]) –
defaultPrefix (str) –
- Return type:
None
- schema_salad.jsonld_context.salad_to_jsonld_context(j, schema_ctx)
- Parameters:
- Return type:
Tuple[schema_salad.utils.ContextType, rdflib.Graph]
- schema_salad.jsonld_context.fix_jsonld_ids(obj, ids)
Add missing identity entries.
- schema_salad.jsonld_context.makerdf(workflow, wf, ctx, graph=None)
- Parameters:
workflow (Optional[str]) –
wf (Union[ruamel.yaml.comments.CommentedMap, float, str, ruamel.yaml.comments.CommentedSeq]) –
ctx (schema_salad.utils.ContextType) –
graph (Optional[rdflib.Graph]) –
- Return type: