开发者

What should I included (using maven) to have use an embedded sesame repository in my Java application

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?


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


Check the Maven Repository Browser and search for openRDF.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜