哪个 Triplestore 用于快速语义 Web 开发?

发布于 2024-07-09 08:06:23 字数 60 浏览 7 评论 0原文

易于安装/使用是这里最重要的因素 - 而不是性能。

小的也可以,因为不需要大的数据集。

Ease of installation/use is the most important factor here - not performance.

Small is OK as large datasets are not expected.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(9

白况 2024-07-16 08:06:24

4store 是我合作过的最简单、最快的三重商店

4store is the easiest and fastest triple store I have worked with

无声静候 2024-07-16 08:06:23

我还推荐 sesame,它轻量级,非常易于安装,并且为小型数据集提供了良好的性能。 Sesame 1.2.x 的查询性能比 Sesame 2.x 好得多,因为 2.x 系列添加了上下文支持。

我已经使用 tomcat、resin 和 jetty 测试了 sesame 安装/部署,并且它可以轻松地与它们一起使用。 我不建议绑定到 RDBMS 组件,例如 Postgres 或 MySQL,至少在 1.x 系列中,性能不可接受,即使对于原型应用程序也是如此。 内存中和本机实现提供了良好的查询性能并提供简单的持久性,尽管它们缺乏真正的事务。

Jena 有一个不错的 API,对数据库、推理器等有更多支持,但占用空间更大,整体使用起来稍微麻烦一些。

I'd also recommend sesame, its lightweight, pretty easy to install, and provides good performance for small datasets. Query performance is far better with Sesame 1.2.x than Sesame 2.x because of the addition of context support to the 2.x series.

I've tested sesame installation/deployment with tomcat, resin, and jetty, and it worked easily with all of them. I don't recommend the bindings to RDBMS components such as Postgres or MySQL, at least in the 1.x series, performance was not acceptable, even for prototype applications. The in-memory and native implementations provide good query performance and offer simple persistence, though they lack true transactions.

Jena has a decent API, and a lot more support for databases, reasoners, etc, but has a larger footprint, and is a little more cumbersome to use on the whole.

追风人 2024-07-16 08:06:23

ARC2 作为 PHP/MySQL 产品给我留下了深刻的印象。 该项目网站有一个有用的“入门”,可以帮助您快速启动和运行,并且可以在邮件列表上快速解决疑问/问题。 根据您尝试执行的操作,SPARQLscript(ARC2 的一个用于处理查询结果的迷你语言插件)可能非常有用。

I've been impressed with ARC2 as a PHP/MySQL offering. The project website has a helpful "Getting Started" to get you up and running quickly and questions/problems are addressed quickly on the mailing list. Depending on what you are trying to do, SPARQLscript, a mini-language add-on to ARC2 for processing query results may be very useful.

眼睛会笑 2024-07-16 08:06:23

老问题,但只是作为更新:

我尝试过 Virtuoso、OpenRDF Sesame 和 4store(全部都是 2012 年 6 月的版本),发现 4store 最好用,因为加载数据、启动和停止服务器等是非常简单。

Old question, but just as an update:

I have tried Virtuoso, OpenRDF Sesame, and 4store (all in their June 2012 versions) and found 4store the nicest to work with, as loading data, starting and stopping the server, etc., is quite simple.

执笔绘流年 2024-07-16 08:06:23

查看 SWI-Prolog 语义 Web 库。 即使对 Prolog 知之甚少,也应该非常容易使用。

Check out the SWI-Prolog Semantic Web Library. Should be very easy to use, even with little knowledge of Prolog.

星光不落少年眉 2024-07-16 08:06:23

我们使用芝麻。 它是用 Java 实现的,因此您将获得跨平台支持。 如果您习惯使用 Tomcat,那么安装起来应该很容易。

We use sesame. It is implemented in Java therefore you will have cross-platform support. If you are comfortable working with Tomcat, it should be pretty easy to install.

窗影残 2024-07-16 08:06:23

如果您熟悉 Ruby,RDF.rb 库可以很快上手; 通过 RubyGems 安装非常简单:

$ sudo gem install rdf

除了使用内存中的 RDF 数据之外,当前可用的 RDF.rb 存储适配器还包括 SQLite、PostgreSQL、MongoDB、Cassandra、RedStore 和 Sesame。

从 Web 加载和解析 RDF 数据也变得非常简单:

graph = RDF::Graph.load("http://datagraph.org/jhacker/foaf.rdf")

请参阅 RDF.rb 项目页面以获取教程、代码示例和 API 文档。

If you are familiar with Ruby, the RDF.rb library is very quick to get started with; installation via RubyGems is as simple as:

$ sudo gem install rdf

In addition to working with in-memory RDF data, currently available RDF.rb storage adapters include SQLite, PostgreSQL, MongoDB, Cassandra, RedStore and Sesame.

Loading and parsing RDF data from the web also could not be any easier:

graph = RDF::Graph.load("http://datagraph.org/jhacker/foaf.rdf")

See the RDF.rb project page for tutorials, code examples and API documentation.

醉梦枕江山 2024-07-16 08:06:23

我尝试了 Virtuoso Open Source、Jena 和 Sesame...以及后者,也感谢 这个...更容易安装。

I tried Virtuoso Open Source, Jena and Sesame....and the latter, also thanks to this...is much more easy to install.

嘦怹 2024-07-16 08:06:23

如果您是 .NET 开发人员,您可能会对 Intellidimensions Semantic SDK 感兴趣。 如果您想在内存中加载图表,然后针对该图表执行 SPARQL 查询,代码非常简单:

var gds = new GraphDataSource();
gds.Read<RdfXmlReader>(File.ReadAllText(@"C:\graph.owl"));
Table results = gds.Query("select ?s ?p ?o where {?s ?p ?o} limit 10");

如果您是学生或研究人员,如果您联系他们,他们通常会提供免费许可证。

If you are a .NET developer you may be interested in Intellidimensions Semantic SDK. If you want to load a graph in memory and then execute SPARQL queries against that graph the code is as simple as:

var gds = new GraphDataSource();
gds.Read<RdfXmlReader>(File.ReadAllText(@"C:\graph.owl"));
Table results = gds.Query("select ?s ?p ?o where {?s ?p ?o} limit 10");

If you are a student or researcher they will usually provide a free license if you contact them.

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