Jheald created this task.
Jheald added a project: Wikidata-Query-Service.
Herald added a subscriber: Aklapper.
Herald added projects: Wikidata, Discovery.

TASK DESCRIPTION

This query returns 1 :

SELECT ?number  WHERE {
       VALUES ?number { 1 } .
       FILTER ( ?number IN (1 , 2 ))  
}

But this query, with the filter line in curly brackets, returns nothing at all:

SELECT ?number  WHERE {
       VALUES ?number { 1 } .
       { FILTER ( ?number IN (1 , 2 ))  }
}

Is this right? It makes it rather difficult to write UNION statements, if one can't use curly brackets for grouping


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

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

To: Jheald
Cc: Aklapper, Jheald, EBjune, merbst, Avner, debt, Gehel, D3r1ck01, Jonas, FloNight, Xmlizer, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to