I am pretty new to sparql and apache Jena so please forgive my naiveness. I loaded wikidata dump (705G) using TDB2 loader and executed some query examples from Wikidata Query Service. Most of the queries take longer time in Jena compare to Wikidata Query Service. My machine is configured with 750G of RAM and 80 CPUs. My questions are:
- Why Wikidata service is faster then Jena?
- How can I improve query performance without rewriting query? maybe some indexing techniques? Or specific server configurations?
I looked up all stackoverflow questions with [Jena] tag and didn't find anything about it. If you can provide tutorials or topics except official Jena website it would be great.