RdfDelta and RDFPatch javadocs, documentation and examples

2019-04-24 Thread agate . marc
Hi, We are planning to use RDF Patch and RDF Delta (https://github.com/afs/rdf-delta) to edit our TDB dataset served through a fuseki endpoint. We took a look at various docs pertaining to Delta and Patch and browse the github repo, but we are still wondering about what could be the best

Re: Jena writing TURTLE instead of TRIG

2018-06-03 Thread agate . marc
On 2018/06/03 12:29:25, Andy Seaborne wrote: > > > On 03/06/18 13:21, agate.m...@gmail.com wrote: > > > > > > On 2018/06/03 11:46:26, Martynas Jusevičius wrote: > >> TriG without named graphs is Turtle, AFAIK. > >> > >> And you can't have named graphs in Model since it only contains

Re: Jena writing TURTLE instead of TRIG

2018-06-03 Thread agate . marc
On 2018/06/03 11:46:26, Martynas Jusevičius wrote: > TriG without named graphs is Turtle, AFAIK. > > And you can't have named graphs in Model since it only contains triples, > not quads. > > If you want named graphs (but you're not using them right now), you should > look into Dataset: >

Jena writing TURTLE instead of TRIG

2018-06-03 Thread agate . marc
Hi, There is obviously an issue with the Model.write method for TriG format. Run the following to see that ttl is returned when Trig is requested...Formats names are based on https://jena.apache.org/documentation/io/ package io.bdrc.ldspdi.test; import org.apache.jena.rdf.model.Model; import

Re: Parameterized queries

2018-03-26 Thread agate . marc
On 2018/03/26 07:30:27, "Laura Morales" wrote: > Is it possible to send a parameterized query to fuseki? I mean sending a > query along with a list of parameters, more or less like this > > format=json > query="select * where { $sbj a [] }" >

Speed issue while processing query resultSets on various ontology models

2018-03-14 Thread agate . marc
Hi, I have included here (https://gist.github.com/MarcAgate/8bbe334fd852817977c909af107a9c6b) some code tha illustrates the issue. It runs the same query against three different models (Model, InfModel and OntModel) of the same ontology. There's obviously a problem with InfModel. Any idea ?

Re: ParameterizedSparqlString strange behavior

2018-03-05 Thread agate . marc
On 2018/03/05 10:24:46, Rob Vesse wrote: > FYI your second example has mismatched brackets in the FILTER which leads to > a SPARQL parser error once the underlying ParameterizedSparlString bug is > fixed > > Rob > > On 04/03/2018, 22:07, "agate.m...@gmail.com"

Re: ParameterizedSparqlString strange behavior

2018-03-04 Thread agate . marc
Here is a piece of code that illustrates the issue and its context described in my previous message : public static void main(String[] args){ String prefixes="PREFIX : \n" + " PREFIX skos: \n" +