tdbupdate will let you execute SPARQL Update statements. Try tdbquery --help and you will see the flags it takes. They include:
--results= Results format (Result set: text, XML, JSON, CSV, TSV; Graph: RDF serialization) Feel free to send an improvement for https://jena.apache.org/documentation/tdb/commands.html, or I will when I get to it. ajs6f > On Jan 14, 2018, at 7:40 AM, Adrian Gschwend <[email protected]> wrote: > > Hi, > > I am using tdbquery in some pipelines I created. Is there a way to use > INSERT statements as well instead of CONSTRUCTS? From the error message > I got I get the impression that it behaves like executing on the query > interface on Fuseki and not the update, so INSERT is not valid in that > context. > > Also I couldn't manage to get n-triples back from the construct, it > always returns Turtle. Is there a way to select the graph output format? > > regards > > Adrian >
