Name
rdf_load_jsonld — load JSON-LD text into the RDF quad store
Synopsis
rdf_load_jsonld(
|
in document varchar, |
| in base_uri varchar, | |
in graph_uri varchar); |
Description
rdf_load_jsonld parses
document as JSON-LD text, resolves IRIs against
base_uri, and inserts the resulting RDF triples
into the quad store under graph_uri. Existing
triples in the graph are preserved; this is the JSON-LD counterpart of
ttlp for Turtle.
Parameters
document
JSON-LD text to parse.
base_uri
Base IRI used to resolve relative IRIs in the document.
graph_uri
Target named graph for the inserted triples.
Examples
Example 24.247. Load a JSON-LD document into a graph
SQL> rdf_load_jsonld (file_to_string ('data.jsonld'),
'http://example.com/base/',
'http://example.com/graph/');