rdf4j
rdf4j copied to clipboard
Add triples from Java code fire a DELETE request
Current Behavior
See below the Java sample code.
When I do connection.add(model) a DELETE request is sent to the triple store.
Why?
Expected Behavior
I'm looking to have (eventually) an OPTION request and a POST request
Steps To Reproduce
LinkedHashModel m = new LinkedHashModel();
IRI iri1 = factory.createIRI("http://example.org/John");
IRI iri = factory.createIRI("http://example.org/livesIn");
Literal a = factory.createLiteral("A");
m.add(iri, iri1, a);
Repository repo = new HTTPRepository("triple_store_url", "repo");
repo.init();
RepositoryConnection con = repo.getConnection();
con.add(m);
con.close();
Version
5.0.0-M2
Are you interested in contributing a solution yourself?
None
Anything else?
No response