I've set-up a SPARQL endpoint with fuseki with the following options:
then I've added some data to it
after that I could query easily the dataset through the web interface, and get some results for example:
My next step was to try to connect with the endpoint through a Sesame connector (2.6.0) using the URL
Previously, I had been able to connect successfully to a Virtuoso server through the same connector, namely to
I debugged both connections the one with virtuoso virtuoso connection debug and the one with fuseki fuseki connection debug trying to find differences, but without success. Feel free to check both text files attached
I also tried to simulate the call with Poster extension for firefox and as you can see in the image the GET request works but the POST doesn't
Any clues of how could I connect to fuseki through a sesame connector? Does it only supports GET requests? Thanks in advance
asked 19 Nov '12, 09:09
A plain request to /sparql is (SPARQL 1.1. Protocol) a request for the service description - as there isn't one yet, you get a 404. Try from a browser and you'll get text to that effect.
The server log will show the request was received.
A query has /sparql?query=...
Finally solved, with the tips that Andy S provided in the fuseki mail list. If you want to have a look at the whole discussion check http://markmail.org/message/bootb7tlrg35luou
The problem was that the Sesame repository and the repository ID were not aligned with Fuseki.
For my sesame connector the sesame repository always hangs from
Therefore, I launched fuseki with the dataset:
and in the piece of code to connect to fuseki I created the repository with a
answered 21 Nov '12, 07:40
The standard way to connect to any (non-Sesame) SPARQL endpoint (including Fuseki) using the Sesame APIs is as follows:
After that you can use the endpoint like any other Sesame Repository, by creating a connection and doing queries on that:
Bonus advantage of using
answered 20 Jan, 18:00
Jeen Broekstra ♦