Did you try just using the type=sparql connection string instead? I think this should work (though not tested):
If you want to use the DNR config instead then the thing to remeber is that it is the URI of the dnr:SparqlQueryEndpoint that you include in your connection string. So with you configuration as it stands, the URI of the dnr:SparqlQueryEndpoint resource is
(because the : prefix is mapped to
). So the connection string you would use would be:
You can change the mapping of the : prefix to anything you like, but then you will need to make sure that you change the value of the
parameter in the connection string.