Hi,
I am trying to interact with Stardog 4.2.3 from java code. I had a look at a few resources from https://docs.stardog.com (about using sesame, maven) as well as the code example from github.
My goal was to integrate the Stardog access in an existing project that relies on RDF4J and thus Java 8.
From the Maven configuration proposed here above, it seems that the current code was not ported yet to RDF4J but still relies on older Sesame libraries, which does cause conflicts in my current project.
My solution so far was to not use the StardogRepository connection, but interact with Stardog through the SPARQL end-point, using the RDF4J SPARQLRepository class. This works fine but doesn't give the same functionalities as a RepositoryConnection.
My questions are:
- is it feasible to to do something similar to Example of how to use Stardog's Sesame bindings · GitHub with RDF4J, if so, is there any example ?
- is it correct that the StardogRepository class is needed here, and Stardog can not be accessed through the standard RemoteRepositoryManager from RDF4J (and Sesame too)
Thank you for any help
Fabian