::: pyld.jsonld.to_rdf options: show_docstring_description: false
::: pyld.options.ToRdfOptions options: show_root_heading: false show_bases: false heading_level: 3
When format is not set, jsonld.to_rdf() returns an
rdflib.Dataset. Set legacyMode to True
to return the RDF.js-like dataset dict used by PyLD versions lower than 4.
{{ example('to_rdf.py') }}