使用 Triplestore 意味着什么
使用三元组存储意味着我们将使用一个包含 3 个列和 7 个索引的表的数据库? 我的意思是使用三重存储总是与该关系模型相关?
the use of a triplestore means that we are going to use a database that have a table with 3 coluns and 7 indexes?
I mean using a triple store always is relationed with that relational model?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
来自http://en.wikipedia.org/wiki/Triplestore:
看起来高性能三元组使用的是非关系模型:
From http://en.wikipedia.org/wiki/Triplestore:
It looks like that the high-performance triplestores use a non-relational model:
未必。有些三元组存储依赖其他 RDBMS 系统作为后端。这种情况的示例有:Jena/SDB、3store 或 Virtuoso。
其他人实现了自己定制的本机持久模型,以更好地响应 RDF 数据模型,例如 4store、Jena/TDB 或 BigData。这些往往可以更好地扩展。
Not necessarily. There are triplestores that rely on other RDBMS systems as backends. Examples of this case are: Jena/SDB, 3store or Virtuoso.
Others implement their own native persistent model customized to respond better to the RDF data model, like 4store, Jena/TDB or BigData. These tend to scale better.
概念上,是的 - 三元组是具有主语、谓语和宾语的二元关系(例如JillSmith>。
在三元组存储中不可能存在更高的元数关系,因为它们位于普通的 RDBMS 中(尽管您可以通过使用多个三元组来伪造它们),
但实现有所不同,正如之前的答案所述,
大多数三元组存储实际上存储四元组,因此它们可以将三元组分组为四元组。子集(RDF 中的“命名图”)
当然是可选的,但通常以某种形式存在 - 再次经常进行修改以适应四边形。
Conceptually, yes - a triple is a binary relation with a subject, predicate, and object (e.g. <JohnSmith--marriedTo->JillSmith>.
Higher arity relations are not possible in a triple store as they are in a normal RDBMS (though you can fake them via the use of multiple triples).
The implementation varies though, as previous answers state.
Most triple stores actually store quads, so they can group triples into subsets ("Named Graphs" in RDF-speak).
The indexes are of course optional, but usually present in some form - again often modified to accommodate quads.