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 <[email protected]> writes:

> 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 { ?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 consider their multiplicities? Is the default graph
> a separate graph, or the union of the named graphs?
>
> Best,
> Daniel
>
> Sorin Gheorghiu <[email protected]> writes:
>
>  Hi,
>
> can Jena Fuseki return the total number of triples of a dataset?
>
> Cheers,
> Sorin

Reply via email to