-
Notifications
You must be signed in to change notification settings - Fork 52
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
Document the workflow for customizing a local QLever instance based on Wikidata dump #1569
Comments
@Daniel-Mietchen and @WolfgangFahl: Thanks for the feedback. Some comments/questions:
|
@hannahbast Thanks for the reponse. We indeed created a qlv script as a wrapper to make the qlever script available in background since it uses a tty and we can not use nohup for it but have to run it in a screen session. That makes error handling harder. Please note that the machine will have a running ui docker process while it runs since we intend to rotate between freshly indexed versions as often as possible which is e.g. currently weekly. So the next test will probably start tomorrow on our alpha disk while the oct 16th dump was on delta. Did you use the the qlever CLI aka qlever script with the pre-configured QLeverfile for Wikidata? if yes, everything should have just worked out of the box. See ad-freiburg/qlever-control#80 why it does not. Even on a successful index we'll not automatically get a new running instance in the style of the current qlv script https://wiki.bitplan.com/index.php/Wikidata_Import_2024-10-17#Using_qlv_script the qlv script is allowing to rotate disks but also works around the tty problem that we can not run the qlever control script in background but have to work around with a screen environment which is much harder to control and debug. You can set the description for the index and the text index in the Qleverfile. The respective variable names are DESCRIPTION and TEXT_DESCRIPTION. Having the information in the log outputs would already help IMHO the information about the source time/stamp size of download and number of triples is worthwhile to keep around any way. I still e.g. have a hard time to compare triple counts in https://wiki.bitplan.com/index.php/List_of_Imports |
@WolfgangFahl You can solve the TTY problem very easily (for any script) be prepending Do any of the issues you reported still persist? |
@hannahbast thx for the response also our endpoint https://qlever.wikidata.dbis.rwth-aachen.de/wikidata currently points to the wrong backend which is awkward since we tried to change it. We seem to have no proper knowledge how to persist all the necessary settings. |
At a hackathon this weekend, @WolfgangFahl has set up a local QLever instance based on the current Wikidata dump. It works well for our main purpose (testing Wikidata-related queries) but we have not yet figured out how to customize our instance.
Landing page Freiburg:
Landing page Aachen:
No major differences except for the Format/ Reset button, and we would like to customize the footer.
Index Information Freiburg:
Index Information Aachen:
Here, we are clearly lacking information but haven't figured out how to get the relevant information to display there.
Backend Information Freiburg:
Backend Information Aachen:
Again, not much of a difference there, except for the
ask
command.Thanks for any pointers.
The text was updated successfully, but these errors were encountered: