Mikael Pesonen
2016-06-20 08:20:00 UTC
Hi,
I have a graph with about 10 million triples and separate Lucene index.
Now Im querying data first from Jena and then filtering results with
Lucene query result.
Problem is that getting ~100k results is too slow:
SELECT ?s ?p ?o WHERE {
GRAPH <...graph...> {
?s dcterms:isPartOf <...collection...> .
?s ?p ?o } }
Querying Lucene first and then sending its result to Jena could be
faster, but sparql query size will be 10-100k so command line wont work.
Is it possible to make large Jena queries without Java?
Thanks,
Mikael
--
www.lingsoft.fi
Speech Applications - Language Management - Translation - Reader's and Writer's Tools - Text Tools - E-books and M-books
Mikael Pesonen
System Engineer
e-mail: ***@lingsoft.fi
Tel. +358 2 279 3300
Time zone: GMT+2
Helsinki Office
Eteläranta 10
FI-00130 Helsinki
FINLAND
Turku Office
Linnankatu 10 A
FI-20100 Turku
FINLAND
I have a graph with about 10 million triples and separate Lucene index.
Now Im querying data first from Jena and then filtering results with
Lucene query result.
Problem is that getting ~100k results is too slow:
SELECT ?s ?p ?o WHERE {
GRAPH <...graph...> {
?s dcterms:isPartOf <...collection...> .
?s ?p ?o } }
Querying Lucene first and then sending its result to Jena could be
faster, but sparql query size will be 10-100k so command line wont work.
Is it possible to make large Jena queries without Java?
Thanks,
Mikael
--
www.lingsoft.fi
Speech Applications - Language Management - Translation - Reader's and Writer's Tools - Text Tools - E-books and M-books
Mikael Pesonen
System Engineer
e-mail: ***@lingsoft.fi
Tel. +358 2 279 3300
Time zone: GMT+2
Helsinki Office
Eteläranta 10
FI-00130 Helsinki
FINLAND
Turku Office
Linnankatu 10 A
FI-20100 Turku
FINLAND