how to skip error (example https://uispin.org/ui.html#try)

20 views
Skip to first unread message

Julia S.

unread,
Dec 21, 2022, 3:30:26 AM12/21/22
to TopBraid Suite Users
Hi there,

we are trying to skip an error and make the query continue with the next graph.

In the previous conversations I found this

I could not get it to work at all and I was testing with a "non-error-throwing" SPARQL query to start with.

Does anyone have a simple example on how to integrate this? Thanks for all recommendations (or pointers to more documentation/functions).

Cheers
Julia

Holger Knublauch

unread,
Dec 21, 2022, 1:49:24 PM12/21/22
to topbrai...@googlegroups.com
I believe we need more information to help you best:

On 21 Dec 2022, at 9:30 am, Julia S. <julis...@gmail.com> wrote:

Hi there,

we are trying to skip an error and make the query continue with the next graph.

What sort of error: are you running a SPARQL query against a SPARQL end point and that crashes badly? Or if not SPARQL, are you talking about an SWP script or ADS script?


In the previous conversations I found this

I could not get it to work at all and I was testing with a "non-error-throwing" SPARQL query to start with.

The ui:try/catch construct works within the SWP language. There are similar mechanisms in ADS/JavaScript.


Does anyone have a simple example on how to integrate this? Thanks for all recommendations (or pointers to more documentation/functions).

Happy to help further if you could add a few details to your question.

Regards
Holger




Cheers
Julia

--
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 topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/0983f609-81cf-42e5-98eb-a139696e3903n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages