Lucas_Werkmeister_WMDE added a comment.

Ugh, I should’ve remembered that, I’m pretty sure I ran into that problem before… thanks.

But that still leaves one case that I think is incorrect:

If the UNION is removed, it correctly yields one nonempty result.

That is:

SELECT ?item WHERE {
  ?_item a schema:Dataset.
  { BIND( ?_item as ?item ) }
}

This returns wikibase:Dump in ?item, but shouldn’t it result in one result with empty ?item, just like this query?

SELECT ?item WHERE {
  ?_item a schema:Dataset.
}

If the subgroup is evaluated first, then there shouldn’t be anything to bind as ?item.


TASK DETAIL
https://phabricator.wikimedia.org/T170915

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: PokestarFan, Smalyshev, Lucas_Werkmeister_WMDE, Yair_rand, Nikki, Aklapper, GoranSMilovanovic, QZanden, EBjune, merbst, Avner, debt, Gehel, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to