Skip to main content

Crate ikigai_vocab

Crate ikigai_vocab 

Source
Expand description

The ikigai self-description vocabulary and its RDF (Turtle) projection.

Endpoints describe themselves with a neutral Description (in ikigai-core); this crate renders that to RDF so a Meta request can return a machine-readable description of an endpoint.

The Turtle is hand-rolled, which keeps this crate dependency-free and WASM-trivial — the emitted graph is small and fully controlled. (A future revision may project to Hydra / OpenAPI from the same vocabulary.)

Structs§

TurtleRenderer
A MetaRenderer projecting descriptions to text/turtle (the default) or text/plain. Inject it into a kernel via Kernel::with_meta_renderer.

Constants§

NS
The ikigai vocabulary namespace. Provisional — the canonical namespace IRI is a project decision; it is used here purely as a stable identifier.

Functions§

describe_turtle
Render a Description as a text/turtle Representation.
to_text
Render a Description as human-readable plain text (for the CLI describe).
to_turtle
Render a Description as a Turtle document using the ikigai vocabulary.