Skip to content

Modules:

Classes:

  • DatasetFormat –

    RDF serialization formats that keep the named graphs of a dataset.

DatasetFormat

Bases: StrEnum

RDF serialization formats that keep the named graphs of a dataset.

Each value is the format's rdflib plugin name, as rdflib.Dataset.serialize takes it.

Attributes:

  • JSON_LD –

    JSON-LD 1.1, files .ld.json

  • NQUADS –

    RDF 1.1 N-Quads, files .nq

  • TRIG –

    RDF 1.1 TriG, files .trig; rdflib writes xsd:double literals in it rounded to 7 significant digits

extension property

extension

File extension of the format, without the leading dot.