Hi Matt,

please check

http://jena.hpl.hp.com/~afs/SPARQL-Update.html

I believe that if you want to combine DELETE and INSERT with a shared  
WHERE clause, then you first need to use the MODIFY keyword. Try  
putting MODIFY before the DELETE.

Holger


On May 18, 2009, at 9:02 AM, Matt wrote:

>
> DELETE {?instance :hasCode ?code}
> INSERT {?instance :hasCode ?order}
> WHERE {
>       ?instance a :SODSContext_Temperature_unit;
>               :hasCode ?code;
>               :hasOrder ?order.
>       FILTER (!bound(?code) || (?code = '') )
> }
>
> This does the INSERT but not the DELETE.  If I remove the DELETE part,
> it will Insert.  If I remove the INSERT part, it will delete.  If both
> are present, it will only INSERT.
>
> I am using TBC 3.0.1
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/topbraid-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to