Hi Marco,
I think you want
model.remove(null,ResourceFactory.createProperty("http;.."),ResourceFactory.createResource("http://
/));
or if object is a literal
model.remove(null,ResourceFactory.createProperty("http;.."),ResourceFactory.createRDFNode("some
string"));
On Fri, Feb 27, 2015 at 10:30 AM, Marco Tenti <[email protected]> wrote:
> Hi everyone is a stupid question and I am ashamed to ask , i just want to
> remove from a model all the statement with a specific predicate and object
> so i use this code:
>
> model.remove( null,
> ResourceFactory.createProperty( "http://something#blabla" ),
> ResourceFactory.createProperty( "http://something#blublu")
> );
>
> I'ts that right? i asking because i'm not very confident on the result.
> Greetings.
>