Hi,
I have a question of the following SPARQL query:
-----------------------------------------------------
delete {
?s ?p ?o .
}
insert {
?s_new ?p ?o_new .
}
where {
?s ?p ?o .
bind (if(isIRI(?s),IRI(replace(str(?s),"mySource","mySourceX")),?s) as
?s_new) .
bind (if(isIRI(?o),IRI(replace(str(?o),"myTarget","myTargetY")),?o) as
?o_new) .
}
-----------------------------------------------------
and the following triple:
<mySource> <myRelation> <myTarget>
If I execute this query in MarkLogic, the result is 2 triples:
<mySource> <myRelation> <myTarget>
<mySourceX> <myRelation> <myTargetY>
where I expected only one:
<mySourceX> <myRelation> <myTargetY>
Kind regards,
Michiel Vanhoutte
Wolters Kluwer Belgium
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general