Hi Alan The "org.apache.stanbol:org.apache.stanbol.commons.marmotta.kiwi" [1] allows you to configure a Kiwi Repository and use it as Service in OSGI.
This module is part of the "org.apache.stanbol:org.apache.stanbol.launchers.bundlelists.marmotta.kiwi" bundlelist. It is only available in the full launcher. If you want to use the stable launcher you need to add it. if you have the required modules installed you can go to http://localhost:8080/system/console/configMgr and configure an instance of the "Marmotta Kiwi TripleStore Service". Doing so will register the configured Kiwi Repository as "org.openrdf.repository.Repository" service with the OSGI Service Registry where you can simple lookup it e.g. by using a ServiceTracker or just inject into your component. hope this helps Rupert [1] http://svn.apache.org/repos/asf/stanbol/branches/release-0.12/commons/marmotta/kiwi/ On Sun, Feb 7, 2016 at 7:59 PM, Robson, Alan <alan.rob...@viasat.com> wrote: > That’s really helpful – thanks. > > > > Is there also a path via stanbol? > > > > Can stanbol connect to the exact same information as marmotta if I give it > the same set of database tables to work with, or is that the wrong way to > approach connecting stanbol and marmotta ? > > > > Cheers > > > > Alan > > > > From: Sergio Fernández [mailto:wik...@apache.org] > Sent: Sunday, February 07, 2016 5:50 AM > To: users@marmotta.apache.org > Subject: Re: KiWi SAIL example > > > > Alan, you can use the KiWi Java API, connecting to the database via JDBC to > directly access the Sail. > > > > That what, for example the bulk loader does: > https://github.com/apache/marmotta/blob/develop/loader/marmotta-loader-kiwi/src/main/java/org/apache/marmotta/loader/kiwi/KiWiLoaderHandler.java#L70 > > > > In that case you may want to take a look to the KiWi Cloud setup: > http://marmotta.apache.org/platform/cloud.html > > > > Hope that helps. > > > > > > > > On Sat, Feb 6, 2016 at 11:40 PM, Robson, Alan <alan.rob...@viasat.com> > wrote: > > I’m pretty happy with Marmotta. I can load and retrieve information via the > LDP web services and I now have a reasonable knowledgebase of machines in my > network and how they inter-connect. > > > > I’d like to be able to write small applications that can tap directly into > the knowledgebase data model without going through the web API. Is there a > short, simple example of using maybe the eclipse/sesame/openrdf API and the > marmotta-specific extensions in the sesame-tools library to write a small > application that interacts directly with KiWi ? > > > > I don’t think I want to create a new Kiwi store, just tap into the existing > instance, or do I have to create a new KiwI store backed by the same > postgres database, is that how it works ? > > > > How might I approach creating an example to learn from ? > > > > Many thanks > > > > Alan > > > > > > > -- > > Sergio Fernández > Partner Technology Manager > Redlink GmbH > m: +43 6602747925 > e: sergio.fernan...@redlink.co > w: http://redlink.co -- | Rupert Westenthaler rupert.westentha...@gmail.com | Bodenlehenstraße 11 ++43-699-11108907 | A-5500 Bischofshofen | REDLINK.CO .......................................................................... | http://redlink.co/