Hi Percy,

In what way does it now work as the query itself runs on my machine but doesn’t 
modify anything as I don’t have such data, so are you getting and error or 
unexpected results are occurring ? Please provide some output of what you are 
seeing as not working ?

Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc.      //              http://www.openlinksw.com/
10 Burlington Mall Road, Suite 265, Burlington MA 01803
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 11 Jan 2012, at 19:03, Percy Enrique Rivera Salas wrote:

> Dear All,
> 
> The following MODIFY Statement doesn't work properly, I think is because
> the variable ?url and ?new_url is an IRI (not a Literal)
> 
> MODIFY <http://test.com/>
> delete
> {?s ?p ?url}
> insert
> {?s ?p ?new_url}
> where
> {
> {
>   SELECT
>   ?s ?p 
> bif:replace(str(?url),"http://test.com/link","http://test.com/extra/link";) AS 
> ?new_url ?url
>   WHERE 
>   {?s ?p ?url
>   filter (regex (str(?url), "http://test.com/link";))
> }
> }
> }
> 
> Any idea to workaround?
> 
> Best Regards, 
> 
> Percy
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual 
> desktops for less than the cost of PCs and save 60% on VDI infrastructure 
> costs. Try it free! 
> http://p.sf.net/sfu/Citrix-VDIinabox_______________________________________________
> Virtuoso-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

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

Reply via email to