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

2019-01-16 Thread Frances the mute
I have a ontology with ~5000 triplets and a few rules, with Fuselo 3.10. But it’s really slow when doing something like this: SELECT DISTINCT ?class ?prop ?nombre ?p ?cat WHERE { ?class a owl:NamedIndividual . ?class su:tienePropiedad ?prop . ?prop su:categoria ?nombre . ?nombre ?p ?cat

Re: How to configure Fuseki to work with several graphs as a joint dataset?

2019-01-16 Thread ajs6f
In the top right corner of any Jena documentation webpage, you should see an "Improve This Page" link, which will allow you to submit an edit to improve that page. Please do, and thanks in advance! ajs6f > On Jan 16, 2019, at 11:12 AM, Svensson, Lars wrote: > > Thanks ajs6f and Andy! > > On

Re: Text search from sparql

2019-01-16 Thread Mikael Pesonen
That change didn't help. Also checked that folder /home/text/tools/apache-jena-fuseki-3.9.0/webapp is found and contains the default files from the package. On 16/01/2019 16:57, Vincent Ventresque wrote: the relevant part is in the config file (pasted on the page) but I thought the links o

RE: How to configure Fuseki to work with several graphs as a joint dataset?

2019-01-16 Thread Svensson, Lars
Thanks ajs6f and Andy! On Wednesday, January 16, 2019 5:08 PM, Andy Seaborne [mailto:a...@apache.org] wrote: > > On 16/01/2019 16:04, Svensson, Lars wrote: > > On Wednesday, January 16, 2019 5:02 PM, ajs6f [mailto:aj...@apache.org] > wrote: > > > >> Yes, the approach that Andy suggested in an e

Re: How to configure Fuseki to work with several graphs as a joint dataset?

2019-01-16 Thread Andy Seaborne
On 16/01/2019 16:04, Svensson, Lars wrote: On Wednesday, January 16, 2019 5:02 PM, ajs6f [mailto:aj...@apache.org] wrote: Yes, the approach that Andy suggested in an email earlier today (use _one_ TDB2 instance, load your graphs into different named graphs in it, and enable the "default gra

Re: How to configure Fuseki to work with several graphs as a joint dataset?

2019-01-16 Thread Andy Seaborne
On 16/01/2019 15:50, Svensson, Lars wrote: On Wednesday, January 16, 2019 4:17 PM, ajs6f [mailto:aj...@apache.org] wrote: I'm not quite sure what's going on here. It looks like you are trying to load entire datasets as named graphs in another dataset, but that doesn't make any sense. Datase

RE: How to configure Fuseki to work with several graphs as a joint dataset?

2019-01-16 Thread Svensson, Lars
On Wednesday, January 16, 2019 5:02 PM, ajs6f [mailto:aj...@apache.org] wrote: > Yes, the approach that Andy suggested in an email earlier today (use _one_ > TDB2 > instance, load your graphs into different named graphs in it, and enable the > "default > graph = union graph" option) is the right

Re: How to configure Fuseki to work with several graphs as a joint dataset?

2019-01-16 Thread ajs6f
You should be able to use the --graph option with tdb2.tdbloader. In general, it's useful to check the options for the Jena CLI utilities. There's a lot of functionality there. ajs6f > On Jan 16, 2019, at 11:02 AM, Svensson, Lars wrote: > > OK, thank you. I think I got the general pattern. >

Re: How to configure Fuseki to work with several graphs as a joint dataset?

2019-01-16 Thread ajs6f
Yes, the approach that Andy suggested in an email earlier today (use _one_ TDB2 instance, load your graphs into different named graphs in it, and enable the "default graph = union graph" option) is the right choice. ajs6f > On Jan 16, 2019, at 10:50 AM, Svensson, Lars wrote: > > On Wednesday,

RE: How to configure Fuseki to work with several graphs as a joint dataset?

2019-01-16 Thread Svensson, Lars
Hi Andy, On Wednesday, January 16, 2019 4:44 PM, Andy Seaborne [mailto:a...@apache.org] wrote: > For my understanding here: > Is there a reason not to have a single TDB2 dataset with several graphs > in it with "union graph" set? I guess the main reason is that I couldn't figure out how to load

RE: How to configure Fuseki to work with several graphs as a joint dataset?

2019-01-16 Thread Svensson, Lars
On Wednesday, January 16, 2019 4:17 PM, ajs6f [mailto:aj...@apache.org] wrote: > I'm not quite sure what's going on here. It looks like you are trying to load > entire > datasets as named graphs in another dataset, but that doesn't make any sense. > Datasets contain graphs. You can't shove an ent

Re: How to configure Fuseki to work with several graphs as a joint dataset?

2019-01-16 Thread Andy Seaborne
Hi there, For my understanding here: Is there a reason not to have a single TDB2 dataset with several graphs in it with "union graph" set? On 16/01/2019 09:25, Svensson, Lars wrote: Greetings, I have several TDB2 datasets that I want to expose as named graphs and as a joint dataset. My

Re: How to configure Fuseki to work with several graphs as a joint dataset?

2019-01-16 Thread ajs6f
I'm not quite sure what's going on here. It looks like you are trying to load entire datasets as named graphs in another dataset, but that doesn't make any sense. Datasets contain graphs. You can't shove an entire dataset into a graph. Are you trying to extract a particular graph from each of th

Re: Text search from sparql

2019-01-16 Thread Mikael Pesonen
Ok sorry just learning this configuration stuff. Changing that value didn't help. Also tried giving the ttl file from command line parameter --config but same error. So something must be wrong with the config file. On 16/01/2019 16:57, Vincent Ventresque wrote: the relevant part is in the

Re: Text search from sparql

2019-01-16 Thread Vincent Ventresque
the relevant part is in the config file (pasted on the page) but I thought the links on the page could be useful too. In the code I used I had to replace "<#dataset>" with ":tdb_dataset_readwrite Le 16/01/2019 à 15:47, Mikael Pesonen a écrit : Thanks for reply. Didn't find any info

Re: Text search from sparql

2019-01-16 Thread Mikael Pesonen
Thanks for reply. Didn't find any info on fixed Uri on that page, it seemed to be about timeouts? On 16/01/2019 15:07, Vincent Ventresque wrote: Hello I'm not sure if your problem is the same I had encountered when configuring Lucene, but you might have to modify the config file to set a

Re: Text search from sparql

2019-01-16 Thread Vincent Ventresque
Hello I'm not sure if your problem is the same I had encountered when configuring Lucene, but you might have to modify the config file to set a fixed Uri for the dataset (see my question here : https://stackoverflow.com/questions/48318966/fuseki-config-for-2-datasets-text-index-how-to-use-turt

Text search from sparql

2019-01-16 Thread Mikael Pesonen
Hi, I'm trying to get text search work. Sparql REGEX takes few seconds to finish so hoping this would be faster. Application is term search using SKOS ontology.  First tested if it's enabled by default  ?concept text:query (skos:prefLabel "medi") .   ?concept skos:prefLabel ?prefLabel Tha

How to configure Fuseki to work with several graphs as a joint dataset?

2019-01-16 Thread Svensson, Lars
Greetings, I have several TDB2 datasets that I want to expose as named graphs and as a joint dataset. My basic idea is to have each TDB2 dataset as its own graph and then a joint dataset combining all graphs with the default graph being the union of all named graphs. My configuration is: @pref