6 ms·
Interesting 'triple' they use :) // Our triple struct, used throughout. type Triple struct { Sub string `json:"subject"` Pred
by sfvisser 12y ago
Interesting 'triple' they use :)
// Our triple struct, used throughout.
type Triple struct {
Sub string `json:"subject"`
Pred string `json:"predicate"`
Obj string `json:"object"`
Provenance string `json:"provenance,omitempty"`
}
- AlisdairO 12y agoThis is weirdly ubiquitous in the RDF store world as well. I eventually gave up talking about 'triple stores' and called them 'RDF stores' instead :-)
- jerven 12y agoIt is basically required for SPARQL 1.1. (Named) graph support. Often people call them quad stores.
- webmaven 12y agoSeems like provenance ought to just be it's own triple describing the relation of another triple to some source. Is this just a shortcut?