使用 Triplestore 意味着什么

发布于 2024-10-30 07:55:31 字数 68 浏览 4 评论 0原文

使用三元组存储意味着我们将使用一个包含 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 技术交流群。

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

发布评论

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

评论(3

恋竹姑娘 2024-11-06 07:55:31

来自http://en.wikipedia.org/wiki/Triplestore

三元组存储是一个专门构建的数据库,用于存储和检索资源描述框架 (RDF) 元数据。

看起来高性能三元组使用的是非关系模型:

一些三元组是从头开始构建为数据库引擎的,而其他三元组则是建立在现有商业关系数据库引擎之上的(即基于 SQL 的)。4 与 OLAP 数据库的早期开发一样,这种中间方法允许构建大型且强大的数据库引擎,只需很少的编程工作Triplestore 发展的初始阶段。但从长远来看,原生三重存储似乎可能具有性能优势。通过 SQL 实现三元组存储的困难在于,虽然“三元组”可以因此被“存储”,但实现基于图的 RDF 模型(即从 SPARQL 的映射)到 SQL 查询的高效查询是很困难的。5

From http://en.wikipedia.org/wiki/Triplestore:

A triplestore is a purpose-built database for the storage and retrieval of Resource Description Framework (RDF) metadata.

It looks like that the high-performance triplestores use a non-relational model:

Some triplestores have been built as database engines from scratch, while others have been built on top of existing commercial relational database engines (i.e. SQL-based).4 Like the early development of OLAP databases, this intermediate approach allowed large and powerful database engines to be constructed for little programming effort in the initial phases of triplestore development. Long-term though it seems likely that native triplestores will have the advantage for performance. A difficulty with implementing triplestores over SQL is that although "triples" may thus be "stored", implementing efficient querying of a graph-based RDF model (i.e. mapping from SPARQL) onto SQL queries is difficult.5

女中豪杰 2024-11-06 07:55:31

未必。有些三元组存储依赖其他 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.

一杯敬自由 2024-11-06 07:55:31

概念上,是的 - 三元组是具有主语、谓语和宾语的二元关系(例如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.

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