jena
jena copied to clipboard
Fuseki UI: /edit view should not count number of triples for each graph
Version
4.7.0
Feature
The "edit" view at /#/dataset/NAME/edit
is barely usable for large sets of graphs because the number of triples is counted for each graph, a time-consuming query. The number of triples should better be requested only if a graph is selected or only for a few graphs when paging through the list of graphs.
Are you interested in contributing a solution yourself?
No
(the edit view would hardly be able to edit huge graphs even if you don't show the counts, though)
My use case is several dozen graphs of different size not to be edited via UI anyway, and a limited number of small graphs to be edited via UI. Having a deep link into edit view with graph URI as parameter (e.g. /#/dataset/NAME/edit?graph=GRAPH
) would be a workaround but the URI does not support such link neither.
if you need a quick hack you could edit the queries and remove the count => https://github.com/apache/jena/blob/main/jena-fuseki2/jena-fuseki-ui/src/services/fuseki.service.js#L23
See also #1852