You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
makes logical sense but is not valid syntax. This represents a request for all people who have a name, without binding that name.
Current Workaround
This query can already be equivalently executed with the syntax:
match
$p isa person, has name $n;
get $p;
but in general the way get changes the answer set has led to confusion for some users, plus the currently invalid syntax is more readable and intuitive.
Proposed Solution
Allow syntax of the form:
match
$t isa thing, has attribute;
as shorthand for:
match
$t isa thing, has attribute $a;
get $t;
Additional Information
This might not be possible if it leads to ambiguity in how a query could be interpreted by the parser, and so needs some thorough consideration first.
The text was updated successfully, but these errors were encountered:
Problem to Solve
Currently, the query:
makes logical sense but is not valid syntax. This represents a request for all people who have a name, without binding that name.
Current Workaround
This query can already be equivalently executed with the syntax:
but in general the way
get
changes the answer set has led to confusion for some users, plus the currently invalid syntax is more readable and intuitive.Proposed Solution
Allow syntax of the form:
as shorthand for:
Additional Information
This might not be possible if it leads to ambiguity in how a query could be interpreted by the parser, and so needs some thorough consideration first.
The text was updated successfully, but these errors were encountered: