On 11/17/2012 15:20, Tim Smith wrote:
DELETE {
    ?this st:isLiteral ?old .
}
INSERT {
    ?this st:isLiteral ?new .
}
WHERE {
    ?this st:predicate ?pred .
    ?pred a ?ptype .
    BIND (!spl:subClassOf(?ptype, owl:ObjectProperty) AS ?new) .
}

?old is not bound - you need to get its value in the WHERE clause, e.g.

OPTIONAL {
    ?this st:isLiteral ?old .
}

HTH
Holger

--
-- 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


Reply via email to