Open james-whiteside opened 1 year ago
match $g isa geo-entity, has alpha-three-code "AFW"; $i isa indicator-entity, has series-code "IT.NET.USER.ZS"; $y isa year; $y = 1994; insert (subject: $g, indicator: $i, year: $y) isa indicator-data, has value 4.37347303003985e-06;
Try this , this will help you . You are getting an error just because of the indentation error. You need to gave some space after match and then write your query , in the same way write insert just below the match and after that rest of your query.
I'm not sure that's correct. TypeQL doesn't take into account indentation of queries when parsed. I've tested the same query but with numbers changed from standard form to place-value form and it's running fine.
ohhh , that's cool if it's working fine with another value . I will try to find it out .
you can check the data type of the 'value' attribute and ensure that it matches the data type of the value you're trying to insert. If you're still having trouble, please let me know and I'll do my best to assist you further.
@james-whiteside the title "Numbers in standard form are not valid syntax" is a pretty unclear description of what you're actually outlining? Please refine
Description
Numbers expressed in standard form (exponent notation) are not currently accepted as valid syntax.
Environment
Reproducible Steps
Run a query involving a number in standard form, for example:
Expected Output
Query is accepted.
Actual Output