Hi Rob,

sorry for the delay as I had to ask a colleague. We also suspect it could simply be an authentication problem and the error is choking on the response. For authentication against the remote endpoint it will check the records available on the Password Management page, and if there is any that exactly matches the SERVICE URI, then that user name and password will be used with basic auth for making the request. So I believe your first example should work if you have a username/password for https://example.org/edg/tbl/sparql and then use the GRAPH keyword. I doubt the second variation with the ? argument will work.

If you could give that a try?

Holger


On 2021-07-14 2:32 pm, [email protected] wrote:

I want to access live EDG content to download in a development context.  The export process gets out of hand if i have a bunch of graphs to sync, and the trig backup is too coarse grained if the live site has a lot of data, and neither allows me to control a subset with a select statement...

SELECT *
WHERE
{ SERVICE <https:// example.org/edg/tbl/sparql>
   {
    GRAPH <urn:x-evn-master:frogs_datagraph>
{?uc a :Frog }
}
}


SELECT *
WHERE
{ SERVICE <https://example.org/edg/tbl/sparql/frogs_datagraph?with-imports=true>
{?uc a :Frog    }
}

Got this result..

Failed to execute SPARQL request: org.apache.jena.sparql.resultset.ResultSetException: Failed when initializing the StAX parsing engine

but if i access the local server
<http://localhost:8083/tbl/sparql>

it works

So i presume its possibly related to permissions - and just a bad error message?

If so, how can one set user permissions when accessing a remote endpoint?


--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/d1f56ccd-20a0-4382-af48-63279571601dn%40googlegroups.com <https://groups.google.com/d/msgid/topbraid-users/d1f56ccd-20a0-4382-af48-63279571601dn%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "TopBraid 
Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/5d3b6889-3aa7-821c-3924-eaab5fa2d3d0%40topquadrant.com.

Reply via email to