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.
精彩评论