parseJsonLd
fun parseJsonLd(jsonLdText: String, baseUri: String? = null, i18nDirection: Boolean = false): MutableList<RdfQuad>
Parses a JSON-LD document (its raw text) into a flat list of RdfQuads.
Relative IRIs are resolved against baseUri (the document URL), as required by JSON-LD and the Solid Protocol. URI validation is scheme-only, tolerating the relative / non-canonical IRIs some pods emit. The JSON-LD processor (titanium) is used internally and is not part of this signature, so it stays off consumers' compile classpath.
Return
the resulting quads, in document order.
Parameters
jsonLdText
the JSON-LD document text to expand and convert to RDF.
baseUri
base IRI for resolving relative references, or null.
i18nDirection
when true, emit i18n-datatype for directional language strings.