yaml_ld.from_rdf.FromRDFOptions
Bases: BaseOptions
Options for converting RDF to *-LD.
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
.