Hello Everyone,
Sorry for asking so many questions, but I'm just starting to wrap my head
around the large Jena world.

I have to write SPARQL UPDATEs query to a remote fuseki instance, that I do
not control. In order to develop in a TDD way, I'd like to have tests
running on an in-memory repository, so that I am able to test my queries.
The (almost) integration tests should do something like this:

write triples
read written triples to assert write worked
delete triples
read triples again to check delete worked

I asked in the #jena irc channel, and shellac suggested to a use
SPARQLServer, but then I miss the APIs to send SPARQL queries to it.

So basically, what I need:
APIs to run an in-memory fuseki instance
APIs to send to the in-memory instance SPARQL UPDATEs and parse results
(possibly with no changes between local and remote APIs)

Thanks!
Matteo

PS: I have previous experience with Sesame, where I'd just do
final Sail sailStack = new MemoryStore();
final Repository repository = new SailRepository(sailStack);
and then get connections, do queries, etc…



-- 
Matteo Moci
http://it.linkedin.com/in/matteomoci
http://about.me/matteomoci/bio

Reply via email to