This content has been marked as final. Show 1 reply
A straightforward way to add a few triples is like this:
sub = Node.createURI("http://example.com/John");
pred = Node.createURI("http://www.w3.org/1999/02/22-rdf-syntax-ns#type");
obj = Node.createURI("http://xmlns.com/foaf/0.1/Person");
triple = Triple.create(sub, pred, obj);
And Yes long literals are supported.
If you have many triples to be inserted, please take a look at the OracleBulkUpdateHandler class.
CONSTRUCT is supported by Jena Adaptor. However, it is not meant to insert triples to Oracle RDF model.
Rather, it is used to return you a RDF graph (Jena model, not an instance of OracleModelSem) based on the query template.
Please refer to