Sesame SeRQL 不提供更新/插入选项?

发布于 2024-09-07 13:47:39 字数 166 浏览 0 评论 0原文

我正在尝试使用 Sesame 存储库来存储我的本体。我想编写JAVA代码来加载这个本体或者只是对其运行查询以添加新的个体、属性等。但SeRQL似乎不提供更新操作。有一些 API 可以让我做到这一点吗?我可以使用 OWLAPI 执行相同的操作,但它可以从文件而不是从 sesame 存储库加载本体。

谢谢

I'm trying to use Sesame repository to store my ontology. I wanted to write JAVA code to load this ontology or just run queries on it so as to add new individuals, properties etc. But it seems that SeRQL does not provide update operations. Is there some API that will allow me to do that? I was able to do the same using the OWLAPI, but it could load the ontology from a file and not from the sesame repository.

Thanks

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

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

发布评论

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

评论(2

心头的小情儿 2024-09-14 13:47:39

SeRQL 不支持更新操作。 SPARQL 在其 1.1 版本中支持,但我相信 Sesame 尚不支持 SPARQL 1.1。更新 Sesame 存储库的方法是通过 SAIL API。启动事务以添加和删除单个语句。

SeRQL doesn't support update operations. SPARQL does in its 1.1 version, but I believe that Sesame doesn't yet support SPARQL 1.1. The way to update a Sesame repository is through the SAIL API. Start a transaction to add and remove individual statements.

无语# 2024-09-14 13:47:39

只是想指出 Sesame 的主要访问 API 实际上是 Repository API。它比 sail 更容易使用(它并不是真正用于直接访问,而是一个用于包装不同存储和推理后端的系统内部 API)。

Just wanted to point out that Sesame's main access API is actually the Repository API. It's much easier to use than the sail (which is not really intended for direct access, but is a system-internal API for wrapping different storage and reasoning backends).

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