Skip to content

yaml_ld.from_rdf.FromRDFOptions

Bases: BaseOptions

Options for converting RDF to *-LD.

base class-attribute instance-attribute

base: URI | None = None

The base IRI to use.

document_loader class-attribute instance-attribute

document_loader: Any = None

The document loader.

format class-attribute instance-attribute

format: str = 'application/n-quads'

The format if input is a string: 'application/n-quads' for N-Quads.

use_native_types class-attribute instance-attribute

use_native_types: bool = False

Convert XSD types into native types (boolean, integer, double)?

use_rdf_type class-attribute instance-attribute

use_rdf_type: bool = False

True to use rdf:type, False to use @type.