Zuhaitz created this task. Zuhaitz added a project: Wikidata. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION Steps to Reproduce: I try to execute the following query on https://query.wikidata.org/ : SELECT distinct ?id ?lang ?n WHERE { { ?id rdfs:label|skos:altLabel "Paris"@en . BIND("EN" AS ?lang) } UNION { ?id rdfs:label|skos:altLabel "Paris"@eu . BIND("EU" AS ?lang) } ?id wikibase:statements ?n . } Actual Results: Query timeout Expected Results: No timeout Additional information: In the following similar cases the query executes successfuly: Removing the UNION (with the second condition): SELECT distinct ?id ?lang ?n WHERE { { ?id rdfs:label|skos:altLabel "Paris"@en . BIND("EN" AS ?lang) } ?id wikibase:statements ?n . } Removing the BIND statements: SELECT distinct ?id ?n WHERE { { ?id rdfs:label|skos:altLabel "Paris"@en . } UNION { ?id rdfs:label|skos:altLabel "Paris"@eu . } ?id wikibase:statements ?n . } Removing the "wikibase:statements" statement: SELECT distinct ?id ?lang ?n WHERE { { ?id rdfs:label|skos:altLabel "Paris"@en . BIND("EN" AS ?lang) } UNION { ?id rdfs:label|skos:altLabel "Paris"@eu . BIND("EU" AS ?lang) } } TASK DETAIL https://phabricator.wikimedia.org/T278518 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Zuhaitz Cc: Zuhaitz, Aklapper, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs