Re: RDF/CBOR: A CBOR-based Serialization of RDF

Have you looked at CBOR-LD [1]? Basically, JSON-LD encoded as CBOR, but with some space optimizations. The JSON-LD CG is considering pushing something forward on this, as it has a lot in common with current work on YAML-LD [2].

Gregg Kellogg
gregg@greggkellogg.net

[1] https://digitalbazaar.github.io/cbor-ld-spec/ <https://digitalbazaar.github.io/cbor-ld-spec/>
[2] https://json-ld.github.io/yaml-ld/spec/

> On Sep 18, 2022, at 12:30 PM, pukkamustard <pukkamustard@posteo.net> wrote:
> 
> 
> Hello semantic-web,
> 
> I'd like to share some recent work towards a binary serialization of RDF
> using CBOR:
> 
> https://openengiadina.codeberg.page/rdf-cbor/
> 
> CBOR (RFC 8949) is a binary data serialization that provides basic data
> types (string, integer, arrays, etc.) as well as extendable tags for
> annotating more complex data types. RDF/CBOR encodes RDF into CBOR
> types. CBOR types are re-used for efficient binary serialization of
> literal values and certain binary IRIs (e.g. UUIDs).
> 
> RDF/CBOR is very much inspired by the HDT serialization and uses a very
> similar encoding (front-coded dictionaries and BitMapTriples). Unlike
> HDT, RDF/CBOR is optimized for small pieces of content that are created,
> transported and read by possibly constrained devices.
> 
> The serialization is defined using the Concise Data Definition Language
> (CDDL; RFC 8610) which allows a very concise and precise specification.
> 
> RDF/CBOR also allows groups of RDF statements to be content-addressed,
> i.e. identifiers are the cryptographic hash of the serialized
> statements. This can be used for cryptographic signature schemes and
> makes RDF viable on distributed, peer-to-peer systems.
> 
> I look forward to your feedback and comments.
> 
> Best regards,
> pukkamustard
> 

Received on Monday, 19 September 2022 17:36:36 UTC