Hi Jindřich,

As Lorenz indicates an update should either be successful or fail especially if 
it is to be part of a transaction (or even distributed transaction) where 
commit or rollback is required if any part fails.

Do you have a specific use case for a partial SPARQL update ?

Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc.      //              http://www.openlinksw.com/
Weblog   -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter  -- http://twitter.com/OpenLink
Google+  -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers

> On 30 Oct 2016, at 12:08, Lorenz B. <buehm...@informatik.uni-leipzig.de> 
> wrote:
> 
> Hello Jindřich,
> 
> to my understanding, the assumption is that any SPARQL update will be 
> executed completely, otherwise it fails with some error messages or the like.
> 
> 
> Cheers,
> Lorenz
> 
>> Hi Hugh,
>> 
>> thanks, that supports my assumption. Are you aware of any other mechanism to 
>> tell if a SPARQL update was executed completely? For some types of updates, 
>> it is possible to rephrase the WHERE clause of the update to ASK query 
>> expected to return false. However, many updates do not work that way, so a 
>> transparent way to indicate partial execution would be beneficial.
>> 
>> - Jindřich
>> 
>> -- 
>> Jindřich Mynarz
>> http://mynarz.net/#jindrich <http://mynarz.net/#jindrich>
>> 
>> On Sun, Oct 30, 2016 at 2:11 AM, Hugh Williams <hwilli...@openlinksw.com 
>> <mailto:hwilli...@openlinksw.com>> wrote:
>> Hi Jindřich,
>> 
>> To my knowledge the Virtuoso Anytime query feature was only ever implemented 
>> for  SPARQL select queries and not SPARQL updates, as indicated at:
>> 
>>      http://docs.openlinksw.com/virtuoso/anytimequeries/ 
>> <http://docs.openlinksw.com/virtuoso/anytimequeries/>
>> 
>> Best Regards
>> Hugh Williams
>> Professional Services
>> OpenLink Software, Inc.      //              http://www.openlinksw.com/ 
>> <http://www.openlinksw.com/>
>> Weblog   -- http://www.openlinksw.com/blogs/ 
>> <http://www.openlinksw.com/blogs/>
>> LinkedIn -- http://www.linkedin.com/company/openlink-software/ 
>> <http://www.linkedin.com/company/openlink-software/>
>> Twitter  -- http://twitter.com/OpenLink <http://twitter.com/OpenLink>
>> Google+  -- http://plus.google.com/100570109519069333827/ 
>> <http://plus.google.com/100570109519069333827/>
>> Facebook -- http://www.facebook.com/OpenLinkSoftware 
>> <http://www.facebook.com/OpenLinkSoftware>
>> Universal Data Access, Integration, and Management Technology Providers
>> 
>>> On 29 Oct 2016, at 16:21, Jindřich Mynarz <mynarzjindr...@gmail.com 
>>> <mailto:mynarzjindr...@gmail.com>> wrote:
>>> 
>>> Hi,
>>> 
>>> how do you deal with partial SPARQL updates? I'm currently simply retrying 
>>> if Virtuoso returns the HTTP header X-SQL-State with the value S1TAT (as 
>>> documented in https://www.openlinksw.com/weblog/oerling/?id=1494 
>>> <https://www.openlinksw.com/weblog/oerling/?id=1494>). However, it seems 
>>> that the absence of this header in SPARQL update responses does not 
>>> indicate that the update was executed completely. Is it correct to assume 
>>> that this header works only for queries but not for updates?
>>> 
>>> Best,
>>> 
>>> Jindřich
>>> 
>>> -- 
>>> Jindřich Mynarz
>>> http://mynarz.net/#jindrich 
>>> <http://mynarz.net/#jindrich>------------------------------------------------------------------------------
>>> The Command Line: Reinvented for Modern Developers
>>> Did the resurgence of CLI tooling catch you by surprise?
>>> Reconnect with the command line and become more productive. 
>>> Learn the new .NET and ASP.NET <http://asp.net/> CLI. Get your free copy!
>>> http://sdm.link/telerik_______________________________________________ 
>>> <http://sdm.link/telerik_______________________________________________>
>>> Virtuoso-users mailing list
>>> Virtuoso-users@lists.sourceforge.net 
>>> <mailto:Virtuoso-users@lists.sourceforge.net>
>>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users 
>>> <https://lists.sourceforge.net/lists/listinfo/virtuoso-users>
>> 
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> The Command Line: Reinvented for Modern Developers
>> Did the resurgence of CLI tooling catch you by surprise?
>> Reconnect with the command line and become more productive. 
>> Learn the new .NET and ASP.NET CLI. Get your free copy!
>> http://sdm.link/telerik <http://sdm.link/telerik>
>> 
>> _______________________________________________
>> Virtuoso-users mailing list
>> Virtuoso-users@lists.sourceforge.net 
>> <mailto:Virtuoso-users@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users 
>> <https://lists.sourceforge.net/lists/listinfo/virtuoso-users>
> -- 
> Lorenz Bühmann
> AKSW group, University of Leipzig
> Group: http://aksw.org <http://aksw.org/> - semantic web research center
> ------------------------------------------------------------------------------
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive. 
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik_______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to