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

Reply via email to