Hello World¶
Enola captures knowledge about Things, and the relationships (links) between them.
Things can be represented in a variety of Formats. In this 1st step, we’ll use the RDF 🐢 Turtle format.
Let’s start with this greeting1.ttl
:
<https://example.org/greeting1>
<https://example.org/message> "hello, world".
This means that https://example.org/greeting1
identifies some Thing which has a message
that is “hello, world”. Pretty simple, right?
Among other things, Enola can generate documentation about Things, like this:
$ ./enola docgen --load docs/models/example.org/greeting1.ttl --output=/tmp/models/ --no-index
greeting1.md
now contains:
[https://example.org/greeting1](https://example.org/greeting1)
* [`ex:message`](https://example.org/message): hello, world
* [🏺 `enola:origin` Origin](../enola.dev/origin.md): [greeting1.ttl](../file/home/runner/work/enola/enola/docs/models/example.org/greeting1.ttl.md)
Note how the greeting, in addition to our message
from above, automagically got another property named origin
- click on it to learn what it’s for! Here is how this Markdown renders:
ex:message
: hello, world- 🏺
enola:origin
Origin: greeting1.ttl