Nudin / makesense

Generate Senses for Lexemes on Wikidata from already existing Wikidata Items
https://machtsinn.toolforge.org/
GNU General Public License v3.0
12 stars 7 forks source link

Fix time out of querries #83

Open Nudin opened 2 weeks ago

Nudin commented 2 weeks ago

The background component of machtsinn runs several SPARQL-queries, sadly several of them nowadays time out. Therefore, many languages don't receive any updates anymore. (See the bottom of the statistics-page to see when which query was successful last.

Possible ways to fix/improve this:

Jerkiller commented 2 weeks ago

I agree that this is the most impactful issue to date.

Let me add some thoughts:

In my script I used a different approach, which is surely slower, but maybe could be of interest.

Nudin commented 1 week ago

The new query-main.wikidata.org seems to be faster than the so-far default. I switched to it. Then I found that using the default.sparql querry didn't work due to encoding issues of the database. I fixed those. And now the default-querry runs again. :partying_face:

Only the da, de and sv querries fail. We can partition them or strip down the filter, or replace them by the apparently more efficient querries used for en/fr/etc. We should look into where those differ.