Performant method to get triple statistic or count in a Apache Jena Fuseki repository

234 Views Asked by At

I have a requirement where I need to count/estimate number of triples in a repository. At the moment I am using SPARQL query to count number of triples in a repository but this is slowing down as size is growing. Is there any better way to get the same information without executing query? I was wondering if it possible to get estimate? My thinking is that under the hood query planner might have this information. So one possibility could be to write an extension function or custom plugin to get the stat from planner.

Will really appreciate if anyone can give idea about the performant way to get number/estimate of triples in a repository. I do not need filtering. All I need is total number of triples. Even estimate will be fine as long as it is not too far off from the actual number of triples.

0

There are 0 best solutions below