RDF/CBOR (https://openengiadina.codeberg.page/rdf-cbor/): Yet another RDF serialization.
But it has some new tricks:
- Optimized for small pieces of content (e.g. ActivityStreams objects)
- Allows content-addressing
It's designed for decentralized systems, passing around small pieces of RDF.
RDF/CBOR: A CBOR-based Serialization of RDF
This specification defines a binary serialization of RDF based on CBOR. Like CBOR the serialization is optimized for small code size and fairly small message size. The serialization is suitable for systems and devices that are possibly constrained in terms of network or computation. By re-using the existing and well-defined CBOR data model, RDF terms can be efficiently encoded. In particular, mappings of common RDF literal datatypes into a binary CBOR representation are defined. Furthermore we use compression techniques such as Incremental Encoding and Bitmap Triples to make the serialization compact. The serialization is defined using the Concise Data Definition Language (CDDL). This allows a precise and concise definition, enabling wide implementation and usage. We also describe how the serialization can be used to make RDF content-addressable. A group of RDF statements can then be addressed by a unique identifier determined exactly by the contents of the statements. This allows RDF data to be made available more robustly and enables the use of RDF in decentralized systems.
