Re: No Improvement In Performance with indexing in Jena Fuseki

2021-01-06 Thread Lorenz Buehmann
no, I meant the whole content of the file not just the Fuseki part which by the way as you can see just contains comments On 06.01.21 15:28, Deepali Singhavi wrote: > Hi Lorenz, > > Please find the content of my configuration file and hope this is what you > are looking for. > > But I am using

Re: How to index different types of RDF file in one data set

2021-01-06 Thread Lorenz Buehmann
In addition to what Andy said: Even if you don't introduce separate subproperties for each type, why shouldn't you be able to distinguish both in a query? I mean, there are RDF types for both, so just append another triple pattern. I doubt it matters if the literals of both types are in the same

Re: Java 8 or 11?

2021-01-06 Thread Dave Reynolds
tl;dr It'd be inconvenient but we could cope. As you say, there is likely to remain a bimodal distribution. We currently remain with the java 8 runtime (increasingly using AWS Corretto). Mostly this is due to the time cost of qualifying and updating an increasingly large number of different

Re: Java 8 or 11?

2021-01-06 Thread Andy Seaborne
Steve - Useful information - but I' not sure what the effect is here - I am a complete non-user of OSGi so I'm afraid someone will have to spell it out for me. The package in artifact javax.xml.bind:jaxb-api is javax.xml.bind -- where does com.sun.xml.bind.v2 fit in? Jena OSGi does not

Re: Java 8 or 11?

2021-01-06 Thread Steve Vestal
The issue has something to do with class loading the context, which apparently is done differently in an osgi bundle.  See, e.g., http://www.descher.at/descher-vu/2019/01/java-11-jaxb-and-osgi/ On 1/6/2021 7:11 AM, Andy Seaborne wrote: On 05/01/2021 22:46, Steve Vestal wrote: Support for

Re: No Improvement In Performance with indexing in Jena Fuseki

2021-01-06 Thread Deepali Singhavi
Hi, Please find the requested details as below: Dataset - TDB2 Dataset Fuseki configuration- I am using the same index config file to start fuseki server. What do you mean by fuseki configuration sorry I am not getting it. number of results of the query - There are 11 triples getting returned

Re: How to Register propLists in Entity Map

2021-01-06 Thread Lorenz Buehmann
can you show an example please? Are you referring to [1] ? I'm wondering what you did in the config, for the future, please always provide as many details as possible, e.g. config, file, what you did to built the index, how you query the index ... So please show config and all other steps you

Re: No Improvement In Performance with indexing in Jena Fuseki

2021-01-06 Thread Andy Seaborne
The figures for the no index case (the only ones I can make sense of because the rest are environment-dependent) look strange. ?subject rdfs:label ?object . FILTER contains(?object,"City") is a simple query. A Fuseki request, client and server on the same machine is might be expensive

RE: How to index different types of RDF file in one data set

2021-01-06 Thread 李惠玲
What we trying to do is after querying a string, the results could show both content type triples in the list, if it fits the literals; Thank you for your replies (and hint), we probably thinking in a wrong way about querying RDF type, yes, we should try via SPARQL, not config file. So, we'll

Re: How to index different types of RDF file in one data set

2021-01-06 Thread Lorenz Buehmann
On 06.01.21 12:17, 李惠玲 wrote: > What we trying to do is after querying a string, the results could show both > content type triples in the list, if it fits the literals; > > Thank you for your replies (and hint), we probably thinking in a wrong way > about querying RDF type, yes, we should try

Re: No Improvement In Performance with indexing in Jena Fuseki

2021-01-06 Thread Deepali Singhavi
Hi Andy, I am using the same configuration file on my system and they are working for me. Attaching them again. Can you please check it now? Regards, Deepali On Mon, Jan 4, 2021 at 8:12 PM Andy Seaborne wrote: > Hi - attachments of configuration and data didn't make it (to me at least). > >

Re: Java 8 or 11?

2021-01-06 Thread Andy Seaborne
On 05/01/2021 22:46, Steve Vestal wrote: Support for JAXB was removed from Java11.  For those using that and Jena in osgi bundles (e.g., Eclipse plugins), my impression from some initial experimenting and searching is that a bit of wizardry is needed to add that on the side and get it

Re: Java 8 or 11?

2021-01-06 Thread Aaron Coburn
I have had no problem using Jena with OSGi on Java 11 (Apache Karaf). You need one of the more recent releases of Karaf, but IIRC I didn't need to do anything unusual. Are there particular errors you are encountering with OSGi and Jena in a Java 11 JRE? Perhaps we can take up the details in a

Re: No Improvement In Performance with indexing in Jena Fuseki

2021-01-06 Thread Andy Seaborne
No - and not in the archives: https://lists.apache.org/thread.html/rdeb6672e894fed26ef163b8e090d6a95d168009ad18be4c9a5dc5ab7%40%3Cusers.jena.apache.org%3E Lists don't accept arbitrary attachments - it's part of the anti-spam measures. Andy On 06/01/2021 12:27, Deepali Singhavi wrote:

How to Register propLists in Entity Map

2021-01-06 Thread Deepali Singhavi
Hi, I want to use a prop list to register multiple predicates. I have updated my configuration file and the index is getting built but when I am trying to query them using those predicates getting messages as they are not indexed only predicates registered under entity map is working. Do we need

Re: No Improvement In Performance with indexing in Jena Fuseki

2021-01-06 Thread Lorenz Buehmann
On 06.01.21 13:33, Deepali Singhavi wrote: > Hi, > > Please find the requested details as below: > > Dataset - TDB2 Dataset > Fuseki configuration- I am using the same index config file to start fuseki > server. What do you mean by fuseki configuration sorry I am not getting it. The config file

Re: Java 8 or 11?

2021-01-06 Thread Steve Vestal
The javax dependency is in my code.  This was just a modest warning in case other folks use JAXB and Jena together. On 1/6/2021 7:59 AM, Andy Seaborne wrote: Steve - Useful information - but I' not sure what the effect is here - I am a complete non-user of OSGi so I'm afraid someone will

Lucene AND problem with Jena Text

2021-01-06 Thread Mikael Pesonen
Hi, I've got 3 predicates indexed, but AND works only for the default predicate. Config: <#entMap> a text:EntityMap ;     text:defaultField "lsrm_lmz_title" ;     text:entityField  "uri" ;     text:uidField "uid" ;     text:langField    "lang" ;     text:graphField  

Re: No Improvement In Performance with indexing in Jena Fuseki

2021-01-06 Thread Deepali Singhavi
Hi Lorenz, Please find the content of my configuration file and hope this is what you are looking for. But I am using the same index.ttl file to start my fuseki server using below command. java -Xmx1200M -jar fuseki-server.jar --config=*LunceneIndex.ttl* # Licensed under the terms of

Re: How to Register propLists in Entity Map

2021-01-06 Thread Deepali Singhavi
Hi Lorenz, Yes I am referring to the same document(Apache Jena - Jena Full Text Search ) I have added prop list with two predicates( *movie:initial_release_date,rdfs:label*) to my config.ttl file and given

Re: Lucene AND problem with Jena Text

2021-01-06 Thread Mikael Pesonen
Other queries work with parentheses "(some AND text)" so no problem. On 06/01/2021 17.37, Mikael Pesonen wrote: Hi, I've got 3 predicates indexed, but AND works only for the default predicate. Config: <#entMap> a text:EntityMap ;     text:defaultField "lsrm_lmz_title" ;