简体   繁体   English

Cayley Quads中的“标签”是什么?

[英]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. 我已经尝试过查看https://godoc.org/github.com/cayleygraph/cayley/quad,但是找不到它的定义及其用途。

I will appreciate any advice and recommendation, thanks. 我将不胜感激任何意见和建议,谢谢。

Quads in caylay are an implementation of https://www.w3.org/TR/n-quads/ caylay中的Quads是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 .

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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