Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fuseki UI: /edit view should not count number of triples for each graph #1778

Open
nichtich opened this issue Feb 28, 2023 · 4 comments · May be fixed by #1792
Open

Fuseki UI: /edit view should not count number of triples for each graph #1778

nichtich opened this issue Feb 28, 2023 · 4 comments · May be fixed by #1792
Labels
enhancement Incrementally add new feature Fuseki UI

Comments

@nichtich
Copy link

nichtich commented Feb 28, 2023

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

@nichtich nichtich added the enhancement Incrementally add new feature label Feb 28, 2023
@SimonBin
Copy link
Contributor

(the edit view would hardly be able to edit huge graphs even if you don't show the counts, though)

@nichtich
Copy link
Author

nichtich commented Mar 1, 2023

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.

@SimonBin
Copy link
Contributor

SimonBin commented Mar 1, 2023

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

nichtich added a commit to gbv/jena that referenced this issue Mar 9, 2023
Modified the Fuseki UI to show a list of graphs without triple counts in
/edit view by default because counting all graphs is slow and the /edit
interface becomes unusable for large numbers for graphs & triples.
@nichtich nichtich linked a pull request Mar 9, 2023 that will close this issue
4 tasks
nichtich added a commit to gbv/jena that referenced this issue Mar 17, 2023
Modified the Fuseki UI to show a list of graphs without triple counts in
/edit view by default because counting all graphs is slow and the /edit
interface becomes unusable for large numbers for graphs & triples.
@afs
Copy link
Member

afs commented Apr 25, 2023

See also #1852

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Incrementally add new feature Fuseki UI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants