A Semantika Endpoint to enable data query through HTTP service
Java
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
img
src/main
.gitignore
LICENSE
README.md
pom.xml

README.md

Semantika Sesame

This project aims to setup a Semantika SPARQL endpoint through Sesame Workbench. The endpoint uses the underlying database system to answer SPARQL queries from users.

Latest release: 1.2 (build 17) is available! (July 8, 2014)

Easy Installation

To test the installation: In the workbench page, create "New repository" using the left menu. A "New Repository" page appears with "Type: Semantika Virtual RDF Store" shows in the drop-down menu.

Creating an Endpoint

Below is an example for creating an endpoint for our Semantika-MusicBrainz project.

  • To create an endpoint, you will need a configuration file that provides the application resources.
<semantika-configuration>
   <application-factory name="musicbrainz-endpoint">
      <data-source>
         <property name="connection.url">jdbc:h2:tcp://localhost/mbzdb</property>
         <property name="connection.driver_class">org.h2.Driver</property>
         <property name="connection.username">sa</property>
         <property name="connection.password"></property>
      </data-source>
      <mapping-source resource="file:///home/user/musicbrainz/res/artist.tml.xml" strict-parsing="false"/>
   </application-factory>
</semantika-configuration>

Notice that the URL protocol file:// is used to locate the mapping resource at /home/user/musicbrainz/res/artist.tml.xml

  • Complete the "New Repository" form by filling the ID, title and configuration file location.

alt tag

  • Once the endpoint was succesfully created, make a query using the "Query" menu item. The example asks for all artists that performed as a solo artist and each name.

alt tag

  • Check the returned results.

alt tag

Need Help?

Check our Wikipage for a brief introduction. Need more help? Join OBDA Semantika Forum.