douou0977 2018-04-03 13:27
浏览 67
已采纳

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.

  • 写回答

1条回答 默认 最新

  • dongzj2015 2018-04-03 14:48
    关注

    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 .
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?