Re: Jena parser when base is not an absolute IRI

2018-08-13 Thread Andy Seaborne
There is also an parser builder operation "resolveURIs(boolean flag)" You can then check in the StreamRDF for relative URIs. Andy On 13/08/18 22:11, Andy Seaborne wrote: Hi there, First, even the base URI is made absolute. In Turtle BASE BASE is legal to set the base

Re: Jena parser when base is not an absolute IRI

2018-08-13 Thread Andy Seaborne
Hi there, First, even the base URI is made absolute. In Turtle BASE BASE is legal to set the base from that point onward as and parsing starts with a base URI related to what the current directory is, or something (if in Fuseki where the file system is h

Re: Jena parser when base is not an absolute IRI

2018-08-13 Thread didac . montero . mendez
On 2018/08/13 19:44:57, didac.montero.men...@gmail.com wrote: > > > On 2018/08/13 19:42:52, ajs6f wrote: > > That response to that question is from Jan 10 of this year. RDFParser > > didn't even exist until recently. Andy and Rob give a set of pretty > > complete answers at that questio

Re: Jena parser when base is not an absolute IRI

2018-08-13 Thread didac . montero . mendez
On 2018/08/13 19:42:52, ajs6f wrote: > That response to that question is from Jan 10 of this year. RDFParser didn't > even exist until recently. Andy and Rob give a set of pretty complete answers > at that question starting in December, and the information is completely > up-to-date, as far

Re: Jena parser when base is not an absolute IRI

2018-08-13 Thread ajs6f
That response to that question is from Jan 10 of this year. RDFParser didn't even exist until recently. Andy and Rob give a set of pretty complete answers at that question starting in December, and the information is completely up-to-date, as far as I can see. ajs6f > On Aug 13, 2018, at 3:36

Jena parser when base is not an absolute IRI

2018-08-13 Thread didac . montero . mendez
I'm converting from JSON-LD to Jena using the following: Model model = ModelFactory.createDefaultModel() RDFParser.create.fromString(json).base("").lang(Lang.JSONLD).parse(StreamRDFLib.graph(model.getGraph)) And having the following JSON-LD: { "@id": "http://example.com/id";, "@type": "Per

Re: TransactionManager ERROR There are now active transactions

2018-08-13 Thread Mikael Pesonen
Sorry https://www.dropbox.com/s/xy9d06ixjv8stif/fuseki_test.zip?dl=0 On 13.8.2018 13:32, Andy Seaborne wrote: On 13/08/18 11:12, Mikael Pesonen wrote: This was just an example, here is the test set with instructions: https://www.dropbox.com/s/r1fd48v62822u2n/How%20to%20use%20the%20Publi

Re: TransactionManager ERROR There are now active transactions

2018-08-13 Thread Andy Seaborne
On 13/08/18 11:12, Mikael Pesonen wrote: This was just an example, here is the test set with instructions: https://www.dropbox.com/s/r1fd48v62822u2n/How%20to%20use%20the%20Public%20folder.txt?dl=0 Not the instructions! Just after fresh start of Fuseki, this error is harder to cause.

Re: TransactionManager ERROR There are now active transactions

2018-08-13 Thread Mikael Pesonen
This was just an example, here is the test set with instructions: https://www.dropbox.com/s/r1fd48v62822u2n/How%20to%20use%20the%20Public%20folder.txt?dl=0 Just after fresh start of Fuseki, this error is harder to cause. After running in low/normal load for couple of weeks, it occurs easily