Triplestore和图数据库之间有什么区别? [英] What is the difference between triplestores and graph databases?

查看:71
本文介绍了Triplestore和图数据库之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有三元存储(语义数据库)和通用图形数据库.

两者都基于通过关系将一个项目"链接到另一个项目"的相似概念. Triplestore支持RDF,并由SPARQL查询,但是此类附加组件也可以(也可以)在通用图数据库的顶部实现.

相比于neo4j之类的通用图形数据库,有什么根本的区别使您更喜欢语义db/triplestore?

解决方案

Triples存储 are 图形数据库. RDF 是一个图.当然,三重存储往往不会在内部将信息存储为图形.对于查询回答而言,这不是最理想的选择,但它们仍然是图形数据库.

如果您对基于W3C标准的生态系统感兴趣,则最好选择neo4j之类的产品.使与其他基于RDF的系统的互操作变得微不足道,并且使拾取所有东西并转移到另一个三元存储变得非常轻松.

There are triplestores (semantic databases), and there are general-purpose graph databases.

Both are based on the similar concepts of linking one "item" to another via a relationship. Triplestores support RDF and are queried by SPARQL, but such add-ons can be (and are) implemented ontop of general-purpose graph databases as well.

What is the fundamental difference that would make you prefer a semantic db / triplestore to a general purpose graph database like neo4j?

解决方案

Triples stores are graph databases. RDF is a graph. Granted, triple stores tend to not store the information internally as a graph; that's sub-optimal for query answering, but they're still graph databases.

You'd prefer them to something like neo4j if you're interested in an ecosystem based on W3C standards. Makes interop with other RDF-based systems trivial, and it makes picking up everything and moving to a different triple store quite painless.

这篇关于Triplestore和图数据库之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆