Version: 0.0.6 (stable)
agrag.schema.formats.owl.loads_owl
loads_owl(text:str, *, name:str | None = None, version:str | None = None) -> ImportResult
Load the supported OWL/RDFS subset from Turtle text.
Only declared types are imported. No reasoning or remote imports run.
Unsupported constructs and lossy mappings appear in the warnings list.
Name and version default to custom and 1.
Raises:
SchemaFormatError– Turtle or term identifiers cannot be read.SchemaFormatMissingExtraError– Install theschema-formatsextra.SchemaLoadError– The mapped data fails schema validation.