三元组和图形数据库有什么区别? [英] What is the difference between triplestores and graph databases?

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

问题描述

有三元组(语义数据库),也有通用图数据库.

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

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

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.

与neo4j 等通用图形数据库相比,您更喜欢语义数据库/三元组存储的根本区别是什么?

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

推荐答案

三元组存储图形数据库.RDF一个图.诚然,三重存储倾向于不在内部将信息存储为图形;这对于查询回答来说是次优的,但它们仍然是图形数据库.

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.

如果您对基于 W3C 标准的生态系统感兴趣,您会更喜欢它们而不是像 neo4j 这样的东西.使与其他基于 RDF 的系统的互操作变得微不足道,并且可以轻松获取所有内容并将其移动到不同的三元组存储.

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.

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

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