Re: OntModel.read parsing non-suffixed TTL as RDF/XML

2018-03-06 Thread Laura Morales
Sorry for the OT question but it's the first time I learn about SWEET. Is there any list of datasets/graphs using this vocabulary?     Sent: Wednesday, March 07, 2018 at 5:28 AM From: "lewis john mcgibbney" To: users@jena.apache.org Subject: OntModel.read parsing

OntModel.read parsing non-suffixed TTL as RDF/XML

2018-03-06 Thread lewis john mcgibbney
Hi Folks, Over on the SWEET ontology suite [0] we recently changed out canonical serialization to TTL. Additionally however, we removed all file suffixes from the resources themselves, therefore although the following resource [1] is serialized as TTL, you would never know unless you looked at it

Re: Streaming CONSTRUCT/INSERTs in TDB

2018-03-06 Thread Adrian Gschwend
On 03.03.18 17:11, Andy Seaborne wrote: Hi Andy, > Do you have an example of such an update? yes I can deliver two use-cases, with data and query. First one is this dataset: http://ktk.netlabs.org/misc/rdf/fuseki-lock.nq.gz Query: https://pastebin.com/7TbsiAii This returns reliably in

Re: NullPointerExceptions in v3.6.0

2018-03-06 Thread Chris Wood
Hi Andy, It does seem weird. Just for completeness, I changed my first example to: Model model = dataset.getDefaultModel(); model.add(new StatementImpl( ModelFactory.createDefaultModel().createResource("http://example.org/thing "), FOAF.name,

Re: Fuseki errors with concurrent requests

2018-03-06 Thread Mikael Pesonen
Thanks for the tip. Out test has so much logic, testing of search results, comparing stuff etc, so we decided to build it with PHP. But from Jmeter got an idea, is it possible to save all calls to Jena (with content, headers) so that it's possible to rerun the test without our environment?

Re: Fuseki errors with concurrent requests

2018-03-06 Thread Martynas Jusevičius
Maybe you can make a reproducible using JMeter or such. On Tue, Mar 6, 2018 at 11:24 AM, Mikael Pesonen wrote: > > Yes, clean install of Ubuntu, Jena etc. > > > > > On 5.3.2018 17:40, Andy Seaborne wrote: > >> >> >> On 05/03/18 15:04, Mikael Pesonen wrote: >> >>> >>>

Re: Fuseki errors with concurrent requests

2018-03-06 Thread Mikael Pesonen
Yes, clean install of Ubuntu, Jena etc. On 5.3.2018 17:40, Andy Seaborne wrote: On 05/03/18 15:04, Mikael Pesonen wrote: We are using GSP and our test script is doing ~20 json-ld inserts and sparql updates in a row ASAP, and we are running 10 test scripts concurrently. This test is