Wikidata engine: minor change of the SPARQL request

The engine can be slow especially when the query won't return any answer.
See https://www.mediawiki.org/wiki/Wikidata_Query_Service/User_Manual/MWAPI#Find_articles_in_Wikipedia_speaking_about_cheese_and_see_which_Wikibase_items_they_correspond_to

Related to #1290
This commit is contained in:
Alexandre Flament 2022-06-11 10:50:11 +02:00
parent 59ef9b9287
commit d068b67a71

View file

@ -65,6 +65,7 @@ WHERE
mwapi:language "%LANGUAGE%". mwapi:language "%LANGUAGE%".
?item wikibase:apiOutputItem mwapi:item. ?item wikibase:apiOutputItem mwapi:item.
} }
hint:Prior hint:runFirst "true".
%WHERE% %WHERE%