【发布时间】:2016-09-15 07:50:49
【问题描述】:
我有一个(也许)简单的问题:我可以将多个 ObjectResource 分配给一个固定的 Subject-Property 语句吗?
我希望我的 RDF-Triples 看起来像这样:
[http://somewhere/Angela_Merkel, http://somewhere/properties#isMentionedIn, http://somewhere/New_York_Times]
[http://somewhere/Angela_Merkel, http://somewhere/properties#isMentionedIn, http://somewhere/The_Guardian]
[http://somewhere/Angela_Merkel, http://somewhere/properties#isMentionedIn, http://somewhere/BildZeitung]
等等..这个rdf格式正确吗?
我可以在 Apache Jena 中实现它吗?
【问题讨论】:
-
你得到的格式实际上已经非常接近 N-Triples。写成
<http://somewhere/Angela_Merkel> <http://somewhere/properties#isMentionedIn> <http://somewhere/New_York_Times> .,你就有合法的N-Triples格式,你可以实际测试RDF是否可以加载。