# `GgenIgniter.Ontology`
[🔗](https://github.com/seanchatmangpt/ggen_igniter/blob/v26.9.8/lib/ggen_igniter/ontology.ex#L1)

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`

# `load!`

```elixir
@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.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
