Re: GeoSPARQL Module - Testing

2019-01-31 Thread Bruno P. Kinoshita
Hi Greg, Had a bit of spare time today in between meetings, but don't have Gradle, only Maven on this computer. Might have more time this weekend or coming next week to play with it and report back. My GIS stack is normally GeoServer, GeoNetworks, mapserver, ArcGIS (all for work), and QGIS (pre

Re: Fuskei2 configuration, TDB2 data, Inferencing with ontologies, Persisting named graphs upon server restart

2019-01-31 Thread Andy Seaborne
4/ "ERROR Exception in initialization: caught: Not in tramsaction" It's a bug : now recorded as JENA-1663. Andy

Re: Fuskei2 configuration, TDB2 data, Inferencing with ontologies, Persisting named graphs upon server restart

2019-01-31 Thread Andy Seaborne
On 31/01/2019 18:27, ajs6f wrote: On Jan 31, 2019, at 1:23 PM, Andy Seaborne wrote: On 31/01/2019 17:57, ajs6f wrote: 2/ It is not possible in an assembler/Fuseki configuration file, to create a new named graph and have a another inference graph put around that new graph at runtime. Ju

Re: Fuskei2 configuration, TDB2 data, Inferencing with ontologies, Persisting named graphs upon server restart

2019-01-31 Thread ajs6f
> On Jan 31, 2019, at 1:23 PM, Andy Seaborne wrote: > > On 31/01/2019 17:57, ajs6f wrote: >>> 2/ It is not possible in an assembler/Fuseki configuration file, to create >>> a new named graph and have a another inference graph put around that new >>> graph at runtime. >> Just to pull on one of

Re: Fuskei2 configuration, TDB2 data, Inferencing with ontologies, Persisting named graphs upon server restart

2019-01-31 Thread Andy Seaborne
On 31/01/2019 17:57, ajs6f wrote: 2/ It is not possible in an assembler/Fuseki configuration file, to create a new named graph and have a another inference graph put around that new graph at runtime. Just to pull on one of these threads, my understanding is that this essentially because t

Re: Fuskei2 configuration, TDB2 data, Inferencing with ontologies, Persisting named graphs upon server restart

2019-01-31 Thread ajs6f
> 2/ It is not possible in an assembler/Fuseki configuration file, to create a > new named graph and have a another inference graph put around that new graph > at runtime. Just to pull on one of these threads, my understanding is that this essentially because the assembler system works only by

Re: Fuskei2 configuration, TDB2 data, Inferencing with ontologies, Persisting named graphs upon server restart

2019-01-31 Thread Andy Seaborne
Hi Pierre, A few points to start with: 1/ For my general understanding of how we might take the inferene provision further in jena, what inferences are you particularly interested in? 2/ It is not possible in an assembler/Fuseki configuration file, to create a new named graph and have a ano

Re: Fuskei2 configuration, TDB2 data, Inferencing with ontologies, Persisting named graphs upon server restart

2019-01-31 Thread Andy Seaborne
On 31/01/2019 17:41, Andy Seaborne wrote: Hi Pierre, A few points to start with: 1/ For my general understanding of how we might take the inferene provision further in jena, what inferences are you particularly interested in? 2/ It is not possible in an assembler/Fuseki configuration fil

Re: wrong content-types in s-get | Re: Export named graph from TDB to several ntriples files

2019-01-31 Thread vincent ventresque
Ok, I'll do that. I'll try to create the pull request within a few days. Have a nice day Vincent Le 31/01/2019 à 16:38, Andy Seaborne a écrit : On 31/01/2019 15:01, vincent ventresque wrote: Many thanks for the detailed explanation, all the more as I struggled a lot of time with a similar p

Re: wrong content-types in s-get | Re: Export named graph from TDB to several ntriples files

2019-01-31 Thread Andy Seaborne
On 31/01/2019 15:01, vincent ventresque wrote: Many thanks for the detailed explanation, all the more as I struggled a lot of time with a similar problem (see my question on stackoverflow : https://stackoverflow.com/questions/52221250/php-easyrdf-unable-to-get-graph-from-construct-query ).

Re: wrong content-types in s-get | Re: Export named graph from TDB to several ntriples files

2019-01-31 Thread vincent ventresque
Many thanks for the detailed explanation, all the more as I struggled a lot of time with a similar problem (see my question on stackoverflow : https://stackoverflow.com/questions/52221250/php-easyrdf-unable-to-get-graph-from-construct-query ). About the pull request : should I remove the 'plai

Fuskei2 configuration, TDB2 data, Inferencing with ontologies, Persisting named graphs upon server restart

2019-01-31 Thread Pierre Grenon
Hello, I am trying to: Set up Fuseki2 with inference and a TDB2 dataset in which can be persisted named graphs created with SPARQL Update. This is in order to: - maintain a set of ontologies in a named graph - maintain datasets in a number of named graphs - perform reasoning in the union graphs

Re: wrong content-types in s-get | Re: Export named graph from TDB to several ntriples files

2019-01-31 Thread vincent ventresque
Hello Thanks a lot for the explanations! > And for application/n-quads that is a dataset serialization not a graph serialization So do you know why the 'name' $mtNQuads is in s-get?? (line 50) > Per application/json several people have already commented that there is no serialization direct

Re: wrong content-types in s-get | Re: Export named graph from TDB to several ntriples files

2019-01-31 Thread Andy Seaborne
Jena has it's own content negotiation mechanism - I couldn't find an existing one at the time and it has turned out to be "quite complicated" for linked data as control of the defaults and choices when not an exact match is important. So we have control of the corner cases and defaults. Inter

Re: wrong content-types in s-get | Re: Export named graph from TDB to several ntriples files

2019-01-31 Thread Rob Vesse
No the content types aren't wrong you're just using them for the wrong things. Per application/json several people have already commented that there is no serialization directly linked to application/json. There are specific MIME types for specific variants of JSON e.g. application/ld+json for

Re: wrong content-types in s-get | Re: Export named graph from TDB to several ntriples files

2019-01-31 Thread vincent ventresque
Sorry, let me sum up the previous messages : 1) I wanted to export a named graph from tdb to ntriples 2) Andy advised to modify s-get, which I did 3) when modifying s-get, I noticed there were 2 wrong content-types : application/json & application/n-quads ; both give rdf-xml output 4) Andy s

Re: wrong content-types in s-get | Re: Export named graph from TDB to several ntriples files

2019-01-31 Thread Martynas Jusevičius
Vincent, can you start by explaining what you are trying to do and why, rather describing how you're doing it? On Thu, Jan 31, 2019 at 2:20 PM vincent ventresque wrote: > > Sorry, I should have explained more clearly : the previous messages > where about default settings in s-get, and when creat

Re: wrong content-types in s-get | Re: Export named graph from TDB to several ntriples files

2019-01-31 Thread vincent ventresque
Sorry, I should have explained more clearly : the previous messages where about default settings in s-get, and when creating a new function to handle --output option, I noticed there was a wrong content-type in s-get for plain json (see my s-get file here : https://sourceforge.net/projects/ffl-

Re: wrong content-types in s-get | Re: Export named graph from TDB to several ntriples files

2019-01-31 Thread ajs6f
I'm not sure what you expect to get back from Fuseki with an "application/json" mimetype? There is no W3C-spec plain-JSON RDF serialization that I know of. I suppose there's the old Tallis idea: https://jena.apache.org/documentation/io/rdf-json.html but I can't imagine that's what you're lookin

Re: wrong content-types in s-get | Re: Export named graph from TDB to several ntriples files

2019-01-31 Thread vincent ventresque
It seems that the problem is completely independent from s-get (see these results with curl below). So I think there's a default setting somewhere in Fuseki itself. #~~~  --header 'Accept: application/json' ~ :~/Documents/fuseki/bin$ curl --header 'Accept: application/

Re: wrong content-types in s-get | Re: Export named graph from TDB to several ntriples files

2019-01-31 Thread vincent ventresque
Thanks for your quick reply! > $mtAppJSON isn't used. I think my previous msg wasn't clear : I meant raw json and not json-ld (my code works now for both, and I use  $mtAppJSON ; but I had to replace 'application/json' with 'application/rdf+json' in order to get json instead of XML ; see the

Re: wrong content-types in s-get | Re: Export named graph from TDB to several ntriples files

2019-01-31 Thread Andy Seaborne
On 31/01/2019 11:26, vincent ventresque wrote: Hello, I found the origin of the problem for json : the $mtAppJSON had the value 'application/json' $mtAppJSON isn't used. "application/rdf+json" isn't JSON-LD (it's the old Talis format). There is: $mtJSONLD = 'application/ld+jso

wrong content-types in s-get | Re: Export named graph from TDB to several ntriples files

2019-01-31 Thread vincent ventresque
Hello, I found the origin of the problem for json : the $mtAppJSON had the value 'application/json' it has to be replaced with 'application/rdf+json' I've updated the file here : https://sourceforge.net/projects/ffl-misc/files/fuseki_scripts_custom-ruby/s-get/download Maybe I'm going to