Associative personal knowledge base
DRAFT
A concept so simple I wondered why I haven’t thought of it before. And why it isn’t already built-in in bash.
This is a command-line interface to a knowledge base, using association and ownership.
The interface consists of five basic commands:
putto put a new entity in the databasedescto describe an entity (either add new description or fetch one)is-ato add a is-a relationhas-ato add a has-a relationlistto list entities of a certain is-a and has-a
Basic example:
put olle # Add new entity olle
put jonas # Add new entity jonas
put friend # Add new entity jonas
jonas is-a friend # Add new is-a relation
olle has-a jonas # Add new has-a relation
list olle friend # List all entities that belong to olle and are a friend
> 14 jonas
You can also do
desc olle
and it will list all details for that entity:
[32] olle "Olle"
has jonas (friend)
todo crawl
todo stack, forth, objects
todo get