Hi yet again 

I apologise if I am wasting your time if this turns out to be lack of 
knowledge ie a sparql problem.

If via the sparql view in TBC I use the following the Delete works fine

DELETE {
    GRAPH <http://example.com/library/publishedBook> {
        ?currentBookUri ?rdfPropertyToUpdateUri ?o .
    } .
}
WHERE {
    GRAPH <http://example.com/library/publishedBook> {
        BIND 
(spif:buildURI("<http:/example.com/library/publishedBook#IEE_Code_of_Practice_3rd_Edition>")
 
AS ?currentBookUri) .
        BIND 
(spif:buildURI("<http://example.com/library/coreModel#lhRhPageLayoutMirrored>") 
AS ?rdfPropertyToUpdateUri) .
        ?currentBookUri ?rdfPropertyToUpdateUri ?o .
 } .
}

However if I use the following in a performUpdate module of a sm script it 
does not but no error  or warning is apparent

DELETE {
    GRAPH <http://example.com/library/publishedBook> {
        ?currentBookUri ?rdfPropertyToUpdateUri ?o .
    } .
}
WHERE {
    GRAPH <http://example.com/library/publishedBook> {
        BIND (spif:buildURI("<{?currentBook}>") AS ?currentBookUri) .
        BIND (spif:buildURI("<{?rdfPropertyToUpdate}>") AS 
?rdfPropertyToUpdateUri) .
       ?currentBookUri ?rdfPropertyToUpdateUri ?o 
    } .
}

I have tried debugging and here is the screenshot of the input var

<https://lh3.googleusercontent.com/-M-sgkX67WBU/UT5O8Hho3EI/AAAAAAAAACw/W4sy5dducX4/s1600/query.png>

-- 
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN.
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-users?hl=en
--- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to