Skip to content

Namespaces

Enola supports Namespaces with prefixes for shorter and thus more easily human readable CURIEs.

Several of the Enola’s formats, notably both 🐢 Turtle and XML, can read and write with namespace support.

Formats with namespace support include a custom syntax to declare namespaces (@prefix and xmlns:), which is used when reading them. This is purely an I/O convenience; in the internal data store those prefixes are not used.

When showing things on the UI, or when writing out things in formats with namespace support, Enola uses its active prefix map. The supported namespaces are currently hard-coded.

The plan is to make the active prefix to namespace URI mappings fully configurable in the future, likely using https://enola.dev/namespaces.

Design

Enola recommends using slash namespaces instead of hash namespaces for new vocabularies.

In our experience, this is less confusing in some situations (e.g. TTL BASE).