Re: Count the total number of triples

2024-09-24 Thread Andy Seaborne
On 24/09/2024 08:36, Sorin Gheorghiu wrote: To count the triples for large datasets with a SPARQL query it takes a longer time, therefore I asked if someone knows if Jena Fuseki can deliver this information faster Regards Sorin Am 24.09.2024 um 09:26 schrieb Daniel Hernandez: What about t

Re: Count the total number of triples

2024-09-24 Thread Daniel Hernandez
I don't know if there is such a specialized feature. I have executed that query in a copy of Wikidata loaded in Jena TDB, and it did not take longer than a couple of hours. Best, Daniel Sorin Gheorghiu writes: > To count the triples for large datasets with a SPARQL query it takes a longer >

Re: Count the total number of triples

2024-09-24 Thread Sorin Gheorghiu
To count the triples for large datasets with a SPARQL query it takes a longer time, therefore I asked if someone knows if Jena Fuseki can deliver this information faster Regards Sorin Am 24.09.2024 um 09:26 schrieb Daniel Hernandez: What about the SPARQL query? SELECT (count(*) as ?n) WHERE

Re: Count the total number of triples

2024-09-24 Thread Daniel Hernandez
What about the SPARQL query? SELECT (count(*) as ?n) WHERE { ?s ?p ?o } Maybe do you also want to count triples in named graphs. In this case, your question is ambiguous, unless you answer the following questions. Do you want to count repeated triples from different named graphs as one, or to c

Count the total number of triples

2024-09-24 Thread Sorin Gheorghiu
Hi, can Jena Fuseki return the total number of triples of a dataset? Cheers, Sorin