Queries sometimes return “Invalid query”, but work with less precise names
Hello,
We are experiencing a few issues with queries to Wikidata returning “500: Internal server error”, stating the query is invalid. If we alter the queries a little bit, leaving out the last letter of the name we are looking for (for example ‘Brosame’ instead of ‘Brosamer’), the query works, giving us a correct result.
One week ago, the few queries that were consistetly giving us an error, started working as expected. Both the ‘complete’ query and the altered version give us the same result, albeit with a higher score on the complete query. However, those same queries are now back to the 'invalid' status.
Would somebody know where the problems came from, and what might have changed to fix them? I am looking for a way to mitigate this on our end in the future.
The invalid query URL’s are:
- https://wikidata.reconci.link/en/api?queries={%22data%22%3A{%22query%22%3A%22Kelly+SCHACHT%22%2C%22type%22%3A%22Q5%22%2C%22type_strict%22%3A%22should%22%2C%22properties%22%3A[{%22pid%22%3A%22P569%22%2C%22v%22%3A%221983%22}]}} 2
- https://wikidata.reconci.link/en/api?queries={%22data%22%3A{%22query%22%3A%22Hans+Brosamer%22%2C%22type%22%3A%22Q5%22%2C%22type_strict%22%3A%22should%22%2C%22properties%22%3A[{%22pid%22%3A%22P569%22%2C%22v%22%3A%221495%22}%2C{%22pid%22%3A%22P570%22%2C%22v%22%3A%221554%22}]}}
The working queries are:
- https://wikidata.reconci.link/en/api?queries={%22data%22%3A{%22query%22%3A%22Kelly+SCHACH%22%2C%22type%22%3A%22Q5%22%2C%22type_strict%22%3A%22should%22%2C%22properties%22%3A[{%22pid%22%3A%22P569%22%2C%22v%22%3A%221983%22}]}}
- https://wikidata.reconci.link/en/api?queries={%22data%22%3A{%22query%22%3A%22Hans+Brosame%22%2C%22type%22%3A%22Q5%22%2C%22type_strict%22%3A%22should%22%2C%22properties%22%3A[{%22pid%22%3A%22P569%22%2C%22v%22%3A%221495%22}%2C{%22pid%22%3A%22P570%22%2C%22v%22%3A%221554%22}]}}
Kind regards,