Loads an ontology file into an in-memory RDF.Graph via the rdf library, dispatching on
file extension. Real IO/parsing, no fixture stubbing. Supported formats:
.ttl->RDF.Turtle.read_file!/1(fallback for unrecognized extensions).nt->RDF.NTriples.read_file!/1.nq->RDF.NQuads.read_file!/1
Summary
Functions
Parses the ontology file at path into an RDF.Graph or RDF.Dataset, raising on parse failure.
Functions
@spec load!(String.t()) :: RDF.Graph.t() | RDF.Dataset.t()
Parses the ontology file at path into an RDF.Graph or RDF.Dataset, raising on parse failure.