Skip to content

Rdf_fragment_graph: Initial implementation.

pukkamustard requested to merge fragment-graph into main

This adds an initial version of Rdf_fragment_graph that implements Fragment Graphs as used for Content-Addressable RDF.

This uses an undocumented CBOR based serialization instead of the documented CSexp based one. The documentation is overdue for an update.

This was also a valuable lesson in learning about structures for storing RDF in memory. Currently we are using CCMultiMap and CCHashTrie from containers-data. These are nice as they are purely functional. However there are some problems (same elements can be added multiple times, signatures of functions are not always consistent). There is much room for improvement (also in Rdf.Graph).

Merge request reports