What you find here
Everything in this layer lives in the RDFSharp.Store namespace, on top of RDFSharp.Model.
using RDFSharp.Model;
using RDFSharp.Store;
A quadruple is a triple with a fourth element, its context: the name of the source it comes from. A store holds quadruples, so the same statement told by two guides stays two statements. The chapters go from the quadruple to the store, then to the formats that carry contexts and last to the databases that can hold a store.
Contexts and quadruples
Give every triple a context, so each fact remembers its source.
2Memory stores
Keep the catalog and the guides in one store, side by side.
3Store formats
Write and read N-Quads, TriX and TriG.
4Persistent stores
Move the store onto a database without changing the code that uses it.
Where the data comes from
The examples load vallerosa-guides.trig, with one named graph per guide. The catalog goes into its own context next to them.