Re: Jena / Fuseki distribution with SPARQLer ?

2019-01-18 Thread Chris Wood
Just for completeness, I am using Java 11: $ java --version openjdk 11 2018-09-25 OpenJDK Runtime Environment 18.9 (build 11+28) OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode) Andy points out elephas can't be built under 11 yet. On Fri, 18 Jan 2019 at 18:35, ajs6f wrote: > Just on thi

Re: Jena / Fuseki distribution with SPARQLer ?

2019-01-18 Thread Chris Wood
Ah, thanks - that helped. (the typo was only in the email, not anything I was trying!) If I try and use a --loc or --file flag when I'm also using the --sparqler flag, then I get an error "Dataset provided but 'no dataset' flag given"; is it possible to use SPARQLer in conjunction with an instance

Re: Text search from sparql

2019-01-18 Thread vincent ventresque
Hi Tom > I’ll be happy to review the changes also. Thank you! > Best to have a user that has recent experience with the deficits in the current docs -- My experience is not that recent : I installed a Lucene index in 2017 (and haven't tried TDB2 yet, so it's a limited experience!). I subs

Re: Text search from sparql

2019-01-18 Thread Chris Tomlinson
Hi Vincent, I’ll be happy to review the changes also. Best to have a user that has recent experience with the deficits in the current docs make changes that clarify their issues. Thanks, Chris > On Jan 18, 2019, at 12:09 PM, vincent ventresque > wrote: > > Hi ajs6f > > Thank you for your

Re: Jena / Fuseki distribution with SPARQLer ?

2019-01-18 Thread Andy Seaborne
On 18/01/2019 18:33, Chris Wood wrote: Hi Andy, Thanks for the link. I've tried a couple of things: - the prebuilt executables don't have a --sparql argument --sparqler Only Fuseki main supports it. 3.10.0 does support it. - I can compile jena-fuseki-main as a standalone package

Re: Jena / Fuseki distribution with SPARQLer ?

2019-01-18 Thread ajs6f
Just on this point: > - I doubt this is related, but if I try and compile all packages from the > repo root then jena-elephas seems to consistently fail; I can build > everything else if I use mvn clean install -pl \!jena-elephas -DskipTests Elephas can take a long time (for certain tests) but

Re: Jena / Fuseki distribution with SPARQLer ?

2019-01-18 Thread Chris Wood
Hi Andy, Thanks for the link. I've tried a couple of things: - the prebuilt executables don't have a --sparql argument - I can compile jena-fuseki-main as a standalone package with maven with no errors, but when I run java -jar jena-fuseki-main-3.11.0-SNAPSHOT.jar, I get 'no main manifest att

Re: Text search from sparql

2019-01-18 Thread vincent ventresque
Hi ajs6f Thank you for your proposal, I'd be glad to contribute (as soon as I find a moment, maybe next week). By the way, I wrote a small tutorial (in french) for our project, and some PHP code to use with Fuseki + a sample dataset (data from french national library). I consider translating

Re: Text search from sparql

2019-01-18 Thread ajs6f
Hi, Vincent-- As mentioned in a recent thread, you needn't be a committer or have any other official role to improve that page. Just use the link in the upper right to submit your suggested changes, and I promise to review/commit them! (Probably with some help from Chris or Osma, who know the t

Re: Text search from sparql

2019-01-18 Thread Lorenz B.
Hello Mikael, the config file should define 1)  the TDB dataset 2) the Lucene dataset that wraps the TDB dataset 3) the service should point to the Lucene dataset In addition, you have to run the text indexer once to create the Lucene index. Once this is done, you have to check the Lucene qu

Re: Text search from sparql

2019-01-18 Thread Vincent Ventresque
Hi Chris, I'd like to add sthg about the documentation page : it's a bit laconic, and I spent a few hours to understand that values have to be provided in config file for dataset uri. Furthermore, I had to search on Stackoverflow, and saw other users had the same problem with jena-text confi

Re: Text search from sparql

2019-01-18 Thread Chris Tomlinson
Hi again, Indeed, if there is no TextIndex configured then the text:query will return null to the surrounding context: Log.warn(TextQueryPF.class, "Failed to find the text index : tried context and as a text-enabled dataset") ; return null ; So you could perhaps verify that wh

Re: Text search from sparql

2019-01-18 Thread Chris Tomlinson
Hi, 1) If you’re using a default config, it does not have a working jena-text configuration. The config will need to include skos:prefLabel in the entity map. 2) when you change the jena-text in significant ways, such as changing what analyzer is used for a given property and so on, then you’

Re: Text search from sparql

2019-01-18 Thread Mikael Pesonen
On 18/01/2019 13:40, Andy Seaborne wrote: On 17/01/2019 15:45, Mikael Pesonen wrote: On 17/01/2019 17:38, Andy Seaborne wrote: On 17/01/2019 12:51, Mikael Pesonen wrote: On 17/01/2019 13:58, Andy Seaborne wrote: On 16/01/2019 12:50, Mikael Pesonen wrote: Hi, I'm trying to get t

Re: Jena / Fuseki distribution with SPARQLer ?

2019-01-18 Thread Andy Seaborne
The SPARQler webpages are at: https://github.com/apache/jena/tree/master/jena-fuseki2/jena-fuseki-main/sparqler Start Fuseki main with "--sparqler LOCATION_OF_SPARQLER_PAGES" Andy On 17/01/2019 18:22, Chris Wood wrote: Hi, It's highly likely I've got several of my wires crossed... but

Re: How can I configure Fuseki so works in-memory with a reasoner on?

2019-01-18 Thread Andy Seaborne
> :dataset a ja:DatasetTxnMem ; This will need to be a ja:RDFDataset. An example: https://github.com/apache/jena/blob/master/jena-fuseki2/examples/service-inference-1.ttl On 17/01/2019 05:58, Frances the mute wrote: I have a ontology with ~5000 triplets and a few rules, with Fuselo 3.10. But it

Re: Text search from sparql

2019-01-18 Thread Andy Seaborne
On 17/01/2019 15:45, Mikael Pesonen wrote: On 17/01/2019 17:38, Andy Seaborne wrote: On 17/01/2019 12:51, Mikael Pesonen wrote: On 17/01/2019 13:58, Andy Seaborne wrote: On 16/01/2019 12:50, Mikael Pesonen wrote: Hi, I'm trying to get text search work. Sparql REGEX takes few seco