使用 AllegroGraph RDF 存储进行对象到三元组映射?

发布于 2024-07-06 02:50:04 字数 1560 浏览 5 评论 0 原文

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

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

发布评论

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

评论(3

阿楠 2024-07-13 02:50:05

我喜欢 redland RDF 库。 RDF 解析、存储、SPARQL/RDQL 查询,相当完整,但足够模块化,可以只使用您想要的内容。 他们有 Java 绑定,但我只使用了 C API(并且还编写了(部分)Lua 绑定)

I like the redland RDF libraries. RDF parsing, storage, SPARQL/RDQL queries, fairly complete, but modular enough to use only what you want. They have Java bindings, but I have only used the C API (and also wrote a (partial) Lua binding)

愿得七秒忆 2024-07-13 02:50:05

提出这个问题的一个问题
更困难的是,与 SQL 不同的是,
SPARQL标准仅支持读取
操作,因此写入是通过
RDF 商店的专有 API,我会
真的很喜欢抽象掉那些
我们的应用程序中的详细信息。我们的应用程序中的详细信息。

AllegroGraph 支持开源 Jena API,通过该 API 可以执行写入操作。 这很酷; 有用。 也许这对于您的目的来说已经足够抽象了。

One issue that makes this question
more difficult is that unlike SQL, the
SPARQL standard only supports read
operations, so writes are done via the
RDF store's proprietary API, and I'd
really like to abstract away those
details in our application.details in our application.

AllegroGraph supports the open-source Jena API, through which you can perform write operations. It's cool; it works. Maybe that's abstraction enough for your purposes.

饮惑 2024-07-13 02:50:04

对于一般的 OO-RDF 映射,您可能需要查看:

但我知道 sommer 和 elmo 都基于 POJO 的注释,并允许通过直接基于三元组的 API 进行更新或使用 SPARQL 进行查询。

至于 AllegroGraph 本身,我不知道任何具体信息,但它们似乎支持 Sesame 并与其交互,因此您也许可以这样工作。

For the OO-RDF mapping in general, you might want to have a look at:

I don't know for RDFReactor but i know that sommer and elmo are both based on annotation of POJO and allows the updates via direct triple-based-API or the queries using SPARQL.

As for AllegroGraph itself, I'm not aware of anything specific but they seems to support Sesame and to interface with it, so you might be able to work this way.

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