Hi Andy,
thanks for looking into this.
I’m asking Fuseki over HTTP…
Currently – with everything o the same machine – putting credentials
into the service IRL works fine:
BIND(IRI(CONCAT(?fusekiProtocol,"://",str(?fusekiUser),":",str(?fusekiPass),"@",?fusekiHost,":",?fusekiPort,"/",?fusekiPath))AS?fusekiServiceIRL).
Though, with Fuseki moving to a new machine, I will of course need to
get the credentials out of the IRL…
So with only…
BIND(IRI(CONCAT(?fusekiProtocol,"://",?fusekiHost,":",?fusekiPort,"/",?fusekiPath))AS?fusekiServiceIRL).
…where do the credentials need to go now and in which format ?
?fusekiServiceIRL srv:serviceContext "???".
I just don’t get how to put the syntax together correctly.
My server is currently running v3.10.0; the new machine will use the
latest version.
Thanks again for helping out here.
Best,
Bardo
On 23.10.20 10.13 Uhr, Andy Seaborne wrote:
Hi there,
From looking at the code (!) it's srv:serviceContext - website being
corrected.
Do you have an example of code you are trying to get working?
I found this in the test suite:
https://github.com/apache/jena/blob/master/jena-arq/src/test/java/org/apache/jena/sparql/engine/http/TestService.java#L165
It is exact string match on the URI.
Andy
On 22/10/2020 09:17, Bardo Nelgen wrote:
Hi all,
sorry, I know it’s rather basic.
But I just can’t figure out how to properly use the contemporary
syntax from
https://jena.apache.org/documentation/query/service.html#configuration-from-jena-version-311
in a federated SPARQL query on Fuseki.
Of course, one can still include the credentials inside the query
IRL, though this for sure is highly insecure.
Where do these parameters need to go according to the manual ?
(BTW: There also appears to be an inconsistency between
srv:queryContext and srv:serviceContext in the "3.0.0"-section…)
A simple s-p-o example should do.
Loads of thanks to anyone taking the effort.
— Bardo