为 skos:semanticRelation 提供描述性标签

发布于 2024-08-24 20:03:57 字数 91 浏览 7 评论 0原文

使用 skos 词汇时,是否可以提供描述性标签来描述两个概念之间的关系。例如,您可以有两个通过 skos:lated 链接的概念,但是您是否准确地说出它们是如何相关的。

When using the skos vocabulary, is it possible to provide a descriptive label to describe a relationship between two concepts. for example you can have two concepts linked by skos:related but hwo do you say exactly how they are related.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

错爱 2024-08-31 20:03:57

也许skos:note(来自SKOS文档 ) 或者作为其子属性的专门谓词之一可能会执行您想要的操作。

您不能像在一般 RDF 数据建模中那样引入空白节点并挂起它的 rdfs:label ,因为 skos:lated 不具有传递性,即

:a skos:related :b .
:b skos:related :c .

仅表示:a:b 相关,:b:c 相关,不< /strong> 暗示 :a:c

相关 最好的方法可能是定义您自己的谓词,它是 skos:lated< 的子属性/code> 并为其应用相关标签、注释和描述。 但是如果您这样做,您需要使用可以进行推理的工具,因为 SKOS 工具不会自动识别您的属性,例如

ex:myRelation rdf:type rdf:Property ;
              rdfs:label "My Relation" ;
              rdfs:comment "Detailed description of the relation..." .

:a ex:myRelation :b .

Maybe skos:note (from SKOS Documentation) or one of the specialised predicates that are subproperties of this might do what you want.

You can't introduce a Blank Node and hang an rdfs:label of it like you might do in general RDF data modelling since skos:related is not transitive i.e.

:a skos:related :b .
:b skos:related :c .

Only says that :a is related to :b and :b is related to :c and does not imply that :a is related to :c

Best way to do it might be to define your own predicate which is a subproperty of skos:related and apply relevant labels, comments and descriptions to that. BUT if you do this you'll need to be using tools that can do inference as SKOS tools won't be aware of your property automatically e.g.

ex:myRelation rdf:type rdf:Property ;
              rdfs:label "My Relation" ;
              rdfs:comment "Detailed description of the relation..." .

:a ex:myRelation :b .
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文