Reputation: 1586
I already tried, to look in https://godoc.org/github.com/cayleygraph/cayley/quad but cant find the definition of it and it's uses.
I will appreciate any advice and recommendation, thanks.
Upvotes: 0
Views: 463
Reputation: 4033
Quads in caylay are an implementation of https://www.w3.org/TR/n-quads/
While triplets only allow subject, predicate and object:
:subject :predicate :object .
:spiderman :relationship/enemyOf :green-goblin .
Quads add the optional context label which can be used to further describe the relationship or base of knowledge.
:subject :predicate :object :label .
:spiderman :relationship/enemyOf :green-goblin :graphs/spiderman .
Upvotes: 4