简体   繁体   中英

What is “label” in cayley quads?

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.

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM