I propose a new event type "211" which is a note meant to describe relationships between "stuff" in a machine friendly way using Info Triples.
"Stuff" here are represented by large numbers, as identifiers, and would most likely be SHA256 hashes of data objects.
An Info Triple consists of three of those large number.
Think of it as a Merkle root of a Merkle tree that only has two elements, and where the Merkleroot is written first and then the two sub nodes' hashes.
In text form the Info Triple can be represented as a single line where the fields are separated by white spaces.
An Info Triple represents an atomic bit of information namely that a relationship exists between two object.
As an example object one could represent a NOSTR Note and the second object could represent the concept of being a food recipe, meaning that a relationship between the two objects tags the NOSTR message as being a food recipe.
The Info Triples can be stacked as rows in a table called an Info Table.
In text format we simply let each line be a row comprising a table as seen below.
- Info Triples are meant for modeling information in general (not just NOSTR notes) and hence the NOSTR note can seen as a carrier/envelope. In comparison the NIP32 are specifically targeting everything NOSTR: events, people, relays, topics...
- NIP 32 is meant to create human readable tags, Info Triples are meant for machine readable meta data, which can then be augmented with human readble Descriptor Notes (NIP101)
- NIP 32 is meant to keep everything within the scope of NOSTR. Info Triples let the developer abstract from the NOSTR layer and build new micro protocols on top of NOSTR.
- It is not a priority for Info Triple data to be recognizable by relays (or everybody). For the NIP 32 labeling namespaces "should" be well-defined.
With that it should be clear that the Nip 32 and Nip 211 are quite different and that they should be able to coexist having each their own usecases.
Furthermore the Info Triple may even use the "self-reporting" feature of Nip 32 to tag its own encoding format.
More info on Info Triples can be found at https://www.infotriple.org