我应该包含什么(使用 maven)才能在我的 Java 应用程序中使用嵌入式 sesame 存储库

发布于 2024-09-18 17:39:06 字数 123 浏览 1 评论 0原文

我想在我的 Java 应用程序中使用嵌入式 openRDF 芝麻存储库。我找不到信息,即我需要在我的 Java 应用程序中包含(放置在我的 pom.xml 中)以使其运行的最小库集。有人可以给我一个提示或一个对我有帮助的网站链接吗?

I would like to use an embedded openRDF sesame repository in my Java application. I can not find information what is a minimum set of libraries that I need to include -- place in my pom.xml -- in my Java application to have it running. Can anybody give me a hint or a link to a website that would help me?

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

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

发布评论

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

评论(2

甜味超标? 2024-09-25 17:39:06

Sesame 有一个“包括一切和厨房水槽”maven 依赖项:

groupId: org.openrdf.sesame
artifactId: sesame-runtime

包括整个框架。如果您想精简它并仅包含特定功能,则可以添加对子部分的特定依赖项。例如,如果您需要的只是一个简单的内存三重存储,您可能可以添加这两个依赖项:

对于存储库 API:

groupId: org.openrdf.sesame
artifactId: sesame-repository-sail

对于实际存储后端:

groupId: org.openrdf.sesame
artifactId: sesame-sail-memory

There is an "include everything and the kitchen sink" maven dependency for Sesame:

groupId: org.openrdf.sesame
artifactId: sesame-runtime

That includes the entire framework. If you want to trim that down and only include specific features, you can instead add specific dependencies on subparts. For example, if all you need is a simple in-memory triplestore, you could probably do with adding these two dependencies:

for the repository API:

groupId: org.openrdf.sesame
artifactId: sesame-repository-sail

for the actual storage backend:

groupId: org.openrdf.sesame
artifactId: sesame-sail-memory
软糯酥胸 2024-09-25 17:39:06

检查 Maven 存储库浏览器并搜索 openRDF

Check the Maven Repository Browser and search for openRDF.

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