Remove triple Apache Jena

461 Views Asked by At

I would like to remove a triple which its object is a literal

I am trying the following but I am getting the error that the object has to be an RDFNode which in my graph it isn't

model.remove(myDeeds.get(i), LOCAH + "/associatedWith", ResourceFactory.createPlainLiteral("word"));

myDeed.get(i) is a resource

Is there any way I can perform this delete?

0

There are 0 best solutions below