Hi Team,

Is there a way to delete a set of triples based on IRI of subject,predicate
or object in REST API. We have graph delete where it deletes all the
triples.

Below XQuery is working as expected

XQuery:

let $triples := cts:triples(
  sem:iri("http://www.sample.org/ABC#master";),sem:iri("
http://www.sample.org/ABC#id";),"01")
return
(sem:database-nodes($triples) ! xdmp:node-delete(.))

Thanks & Regards,
Rajesh
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to