Re: Can Jena Full Text search work with other Jena based API like Virtuoso Jena or MarkLogic Jena ?

2019-09-21 Thread Dan Davis
It would be of tremendous value to my project if this works; I wish I had time to try it also. On Wed, Sep 18, 2019, 10:03 PM Alex To wrote: > Hi Dan > Thanks for your suggestion but I am not trying to load large dataset yet. > > I am trying to see if I can use Jena Full text search with other J

Re: Can Jena Full Text search work with other Jena based API like Virtuoso Jena or MarkLogic Jena ?

2019-09-18 Thread Alex To
Hi Dan Thanks for your suggestion but I am not trying to load large dataset yet. I am trying to see if I can use Jena Full text search with other Jena based API such as MarkLogic or Virtuoso but seems like it doesn't work as expected. Not a Jena problem though. My set up is 1. Input file: dbpedia

Re: Can Jena Full Text search work with other Jena based API like Virtuoso Jena or MarkLogic Jena ?

2019-09-18 Thread Dan Davis
dbpedia is not actually that large. Make sure you test with RDF datasets that really represent your data. On Wed, Sep 18, 2019 at 8:14 PM Alex To wrote: > Update: I switched from Lucene to Elasticsearch 6.4.3 and Kibana. Both Jena > and MarkLogic Jena works with indexing, I haven't tried queryi

Re: Can Jena Full Text search work with other Jena based API like Virtuoso Jena or MarkLogic Jena ?

2019-09-18 Thread Alex To
Update: I switched from Lucene to Elasticsearch 6.4.3 and Kibana. Both Jena and MarkLogic Jena works with indexing, I haven't tried querying MarkLogic with text:query though. Using Kibana, I could see the number of documents increasing while importing data with MarkLogic however it is very slow.

Re: Can Jena Full Text search work with other Jena based API like Virtuoso Jena or MarkLogic Jena ?

2019-09-16 Thread Alex To
Hi Andy I ended up creating separate implementation for Jena and MarkLogic full text search for now due to time constraints of the project. I will investigate further at a later time. Thank you Best Regards On Sun, Sep 15, 2019 at 6:53 PM Andy Seaborne wrote: > Alex, > > I can't try it out -

Re: Can Jena Full Text search work with other Jena based API like Virtuoso Jena or MarkLogic Jena ?

2019-09-15 Thread Andy Seaborne
Alex, I can't try it out - I don't have a Marklogic system. Can you see in the server logs what is happening? > Pure speculation but parts 1 & 2 sounds like the data load is not going > to MarkLogic as a single transaction but as "autocommit" - one > transaction for each triple added. Andy

Re: Can Jena Full Text search work with other Jena based API like Virtuoso Jena or MarkLogic Jena ?

2019-09-13 Thread Alex To
Hi Andy I had to pull develop branch from here https://github.com/marklogic/marklogic-jena/tree/develop to get the version that works with Jena 3.1x.0 then update file https://github.com/marklogic/marklogic-jena/blob/develop/marklogic-jena/build.gradle with the following 1. Line 9: change versi

Re: Can Jena Full Text search work with other Jena based API like Virtuoso Jena or MarkLogic Jena ?

2019-09-13 Thread Andy Seaborne
The maven central artifact com.marklogic:marklogic-jena is 3.0.6 but our code depends on 3.1.0 - what code is it using? On 13/09/2019 01:18, Alex To wrote: I created a small program to try out Lucene with MarkLogic Jena here https://github.com/AlexTo/jena-lab/blob/master/src/main/java/com/comp

Re: Can Jena Full Text search work with other Jena based API like Virtuoso Jena or MarkLogic Jena ?

2019-09-12 Thread Alex To
I created a small program to try out Lucene with MarkLogic Jena here https://github.com/AlexTo/jena-lab/blob/master/src/main/java/com/company/MainMarkLogic.java My observation is as follows (see my comment at line 54 & 56) 1. If the model reads a small file with 2 triples, the loading can finis

Re: Can Jena Full Text search work with other Jena based API like Virtuoso Jena or MarkLogic Jena ?

2019-09-12 Thread Dan Davis
I am incorrect, and apologize. Virtuoso's Jena 3 driver includes an implementation of Dataset, and so while application is only using the virtuoso.jena.driver.VirtGraph and virtuoso.jena.driver.VirtuosoQueryExecution (and factory), a more flexible integration is possible. I look forward to experime

Re: Can Jena Full Text search work with other Jena based API like Virtuoso Jena or MarkLogic Jena ?

2019-09-12 Thread Dan Davis
Virtuoso's Jena driver implements the model interface, rather than the DatasetGraphAPI. is translating the SPARQL query into its own JDBC interface. You can see the architecture at http://docs.openlinksw.com/virtuoso/rdfnativestorageprovidersjena/#rdfnativestorageprovidersjenawhatisv. However, Vir

Re: Can Jena Full Text search work with other Jena based API like Virtuoso Jena or MarkLogic Jena ?

2019-09-12 Thread Andy Seaborne
Yes, probably - but. The Jena text index will work in conjunction with any (Jena) DatasetGraphAPI implementation. 3rd party systems are not tested in the build. The "but" is efficiency. Both those systems have their own built-in text indexing which execute as part of the native query engine.

Can Jena Full Text search work with other Jena based API like Virtuoso Jena or MarkLogic Jena ?

2019-09-11 Thread Alex To
Hi I have so far been happy with Jena + Lucene / Elastic. Just trying to get a quick answer whether it can work with other Jena based API like Virtuoso / MarkLogic. If I wrap a MarkLogic Dataset in a Jena TextDataset, can it work as expected ? Given that a MarkLogic / Virtuoso Dataset implements