RE: TDB2 Data Doesn't Persist

2022-10-18 Thread theodore.hi...@morganstanley.com
Hi Andy, I seem to have a configuration that's working, where my named graphs are persisting. See new config file below. However, it's horribly slow. I am running Java code which is reading 60,000 records and running SPARQL queries and updates viathe REST API. It will eventually will produce

Re: SPARQL limit doesn't work

2022-10-18 Thread Lorenz Buehmann
did you get those results when running only this subquery? Afaik, the default limit of the Lucene text query is at most 10 000 documents - and I don't think that the outer LIMIT would make it to the Lucene request On 18.10.22 13:35, Mikael Pesonen wrote: I have a bigger query that starts

SPARQL limit doesn't work

2022-10-18 Thread Mikael Pesonen
I have a bigger query that starts with inner select  { SELECT ?s ?score WHERE {     (?s ?score) text:query (skos:prefLabel skos:altLabel "\"xx yy\"" "lang:en" ) .     } order by desc(?score) offset 0 limit 1000 } There are about 1 results. limit 1000 returns ~560 and limit 100 ~75

Re: GraphMem in 4.6

2022-10-18 Thread Andy Seaborne
On 18/10/2022 10:57, Marco Neumann wrote: Can you briefly explain / guess how this degradation was introduced? I presume we are not testing for regression in the unit tests. might be best addressed in dev. Élie linked to a GH issue that links onwards to the JIRA ticket. Andy Marco

Re: GraphMem in 4.6

2022-10-18 Thread Marco Neumann
Can you briefly explain / guess how this degradation was introduced? I presume we are not testing for regression in the unit tests. might be best addressed in dev. Marco On Tue, Oct 18, 2022 at 10:46 AM Holger Knublauch wrote: > Yes! This seems to have fixed it: > >

Re: GraphMem in 4.6

2022-10-18 Thread Holger Knublauch
Yes! This seems to have fixed it: ARQ.getContext().set(ARQ.optReorderBGP, false); Many thanks, Holger > On 18 Oct 2022, at 11:29 am, Élie Roux wrote: > > Perhaps this is an instance of > https://github.com/apache/jena/issues/1533 ? What triple reordering > optimization are you using? > >

Re: GraphMem in 4.6

2022-10-18 Thread Élie Roux
Perhaps this is an instance of https://github.com/apache/jena/issues/1533 ? What triple reordering optimization are you using? Best, -- Elie

Re: GraphMem in 4.6

2022-10-18 Thread Holger Knublauch
> On 18 Oct 2022, at 11:01 am, Andy Seaborne wrote: > > > > On 18/10/2022 09:07, Holger Knublauch wrote: >> We also observe some slowness. > > Could you expand on that, please? e.g. figures, and references to previous > releases. I am still profiling this and haven't been able to fully

Re: GraphMem in 4.6

2022-10-18 Thread Andy Seaborne
On 18/10/2022 09:07, Holger Knublauch wrote: We also observe some slowness. Could you expand on that, please? e.g. figures, and references to previous releases. Andy

GraphMem in 4.6

2022-10-18 Thread Holger Knublauch
We are about to upgrade from 4.3 to 4.6 and notice that GraphMem was deprecated in the meantime. We also observe some slowness. In order to eliminate the possibility that this is due to changes to GraphMem may I get a confirmation that 4.6 still uses the same old GraphMem as previous versions?

Re: Re: Weird sparql problem

2022-10-18 Thread Lorenz Buehmann
Hi, comments inline On 17.10.22 14:35, Mikael Pesonen wrote: This works as a separate query, but not in a the middle, since ?s gets new values instead of binding to previous ?s. { select ?t where { ?s a ?t .  } limit 10}   ?t skos:prefLabel ?l In the middle of what? Subqueries will be