In my last post, I talked about using the bindings parameter of MarkLogic’s sem.sparql function to look for multiple values in a SPARQL query. It turns out that approach doesn’t work for SPARQL Update. Let’s look at how we can do it.
With MarkLogic’s SPARQL queries, we can bind values to constraint the query. Using this capability, we can gather information about something of interest. But what if I want to query against multiple values?
MarkLogic’s sem.sparqlUpdate normally runs as a separate transaction, which has implications for how locks are managed.