Hello Stardog folks,
I'm new here, assessing a conversion from Virtuoso to Stardog. I've installed Stardog and successfully uploaded .TTL files. Now I wish to query the data base from other applications, including R. I am successfully using the R rrdf package to query a local Virtuoso store. When I change my R script to point to my new Stardog database I not unexpectedly receive an authentication error. I am unsure how to pass the user/authentication information in the connection string. Can someone point me to a working example of a configuration and a connection string?
Stardog 4.2
Windows 7 ( I know, I know!! Not my choice...)
Is anyone using R to connect and query data from Stardog?
My R script:
library(rrdf)
query = " SELECT * WHERE {?s ?p ?o . } LIMIT 10 "
data = sparql.remote(endpoint, query)
I receive message:
Warning message:
In .jcall("com/github/egonw/rrdf/RJenaHelper", "Lcom/github/egonw/rrdf/StringMatrix;", :
org.apache.http.HttpException: Expected HTTP 200, but got a 401: Unauthorized
Thanks for any advice you may have!
Tim