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

Wikibase: improve query comment extraction and page language detection #5

Open
JervenBolleman opened this issue Sep 19, 2024 · 0 comments
Labels
wikibase Wikibase: SPARQL query templates crawler

Comments

@JervenBolleman
Copy link
Collaborator

JervenBolleman commented Sep 19, 2024

The current approach to query comment extraction is find the highlighted sparql query in the html. Find previous siblings in the HTML document and extract their text to make a comment.

For language detection we look at the lang attribute of the top level html. However, that is often wrong.

@JervenBolleman JervenBolleman added the wikibase Wikibase: SPARQL query templates crawler label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wikibase Wikibase: SPARQL query templates crawler
Projects
None yet
Development

No branches or pull requests

1 participant