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.
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.