My favorites | Sign in
Project Home Issues Source
Search
for

Nikunau is a read-only Sesame Sail implementation to enable a RDF view on the ISO/IEC 13250 Topic Maps standard. TmapiStore supports every TMAPI 2.0 compatible engine as back-end and follows the the mapping approach developed by NetworkedPlanet.

Usage

Download the latest version and put the sesame-sail-tmapi-x.x.x.jar and the Jar’s in the /lib folder into your CLASSPATH or use the Maven Repository to obtain SAIL-TMAPI. Create your TopicMapSystem and populate it as you like.

import org.tmapi.core.TopicMap;
import org.tmapi.core.TopicMapSystem;
import org.tmapi.core.TopicMapSystemFactory;

...

TopicMapSystem tms = TopicMapSystemFactory.newInstance().newTopicMapSystem();
...

Next, initialize the TmapiStore

import org.openrdf.repository.Repository;
import org.openrdf.repository.sail.SailRepository;
import de.topicmapslab.sesame.sail.tmapi.TmapiStore;

TmapiStore tmapiStore = new TmapiStore(tms);
Repository myRepository = new SailRepository(tmapiStore);
myRepository.initialize();

Thats it! Now you can use it as described in the Sesame User Guide. Alternatively you can also use the new Simple Sesame Interface.


Sign in to add a comment
Powered by Google Project Hosting