{"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lon, level, depth, unit\n Sensor: dew_point | fields: depth, ts, type, level\nTask: Retrieve value from drought_index whose unit is found in dew_point records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000000", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: depth, lat, reading, type\n Sensor: cloud_cover | fields: depth, value, unit, lon\nTask: Retrieve lon from wind_speed that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000001", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: level, value, ts, unit\n Sensor: pressure | fields: lon, unit, depth, qc\nTask: Get reading from temperature where a corresponding entry exists in pressure with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "reading", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000002", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: depth, type, qc, value\n Sensor: rainfall | fields: level, unit, lat, reading\nTask: Fetch lat from wind_speed that have at least one corresponding rainfall measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lat", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000003", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: qc, lat, level, ts\n Sensor: air_quality | fields: unit, depth, value, level\nTask: Retrieve depth from visibility with reading above the AVG(value) of air_quality readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000004", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: depth, ts, value, type\n Sensor: temperature | fields: depth, type, qc, lon\nTask: Get level from snow_depth where value exceeds the average depth from temperature for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"temperature\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000005", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: lon, lat, reading, depth\n Sensor: wind_speed | fields: qc, lon, ts, level\nTask: Get value from snow_depth where reading exceeds the total value from wind_speed for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000006", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: value, type, ts, depth\n Sensor: dew_point | fields: depth, lat, qc, value\nTask: Get value from snow_depth where qc appears in dew_point readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000007", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: depth, lon, level, reading\n Sensor: snow_depth | fields: depth, value, qc, reading\nTask: Get depth from evaporation where ts appears in snow_depth readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000008", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: level, lon, unit, reading\n Sensor: frost | fields: reading, lon, depth, type\nTask: Retrieve reading from uv_index with reading above the COUNT(value) of frost readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"frost\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000009", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: unit, type, lat, lon\n Sensor: lightning | fields: lon, depth, qc, level\nTask: Fetch reading from soil_moisture that have at least one corresponding lightning measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000010", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: value, level, unit, depth\n Sensor: cloud_cover | fields: qc, value, reading, lat\nTask: Retrieve depth from rainfall whose type is found in cloud_cover records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000011", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: lat, lon, value, level\n Sensor: air_quality | fields: unit, type, qc, depth\nTask: Fetch reading from snow_depth where reading is greater than the average of value in air_quality for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000012", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: level, qc, type, depth\n Sensor: temperature | fields: lon, type, unit, qc\nTask: Get depth from humidity where a corresponding entry exists in temperature with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000013", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lon, lat, unit, value\n Sensor: air_quality | fields: value, lon, level, unit\nTask: Fetch lon from soil_moisture where type exists in air_quality sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000014", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: qc, level, type, lat\n Sensor: soil_moisture | fields: lon, lat, ts, value\nTask: Fetch level from evaporation where reading is greater than the average of reading in soil_moisture for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000015", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: unit, depth, value, qc\n Sensor: uv_index | fields: value, lon, level, unit\nTask: Fetch depth from turbidity where depth is greater than the total of depth in uv_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"uv_index\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000016", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: lon, ts, qc, unit\n Sensor: drought_index | fields: qc, level, value, unit\nTask: Get lon from uv_index where value exceeds the minimum value from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"drought_index\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000017", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lat, ts, level, value\n Sensor: uv_index | fields: value, ts, reading, unit\nTask: Fetch level from air_quality where depth is greater than the count of of value in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"uv_index\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000018", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lat, type, unit, depth\n Sensor: humidity | fields: reading, depth, qc, level\nTask: Retrieve level from pressure that have at least one matching reading in humidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000019", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: reading, lon, qc, level\n Sensor: turbidity | fields: lon, depth, lat, value\nTask: Retrieve lon from temperature whose qc is found in turbidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000020", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: qc, lon, reading, level\n Sensor: humidity | fields: qc, value, depth, type\nTask: Retrieve lat from dew_point that have at least one matching reading in humidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lat", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000021", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: unit, depth, level, type\n Sensor: humidity | fields: qc, lat, unit, lon\nTask: Get depth from air_quality where a corresponding entry exists in humidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000022", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: value, lon, unit, depth\n Sensor: uv_index | fields: level, depth, ts, lon\nTask: Get depth from drought_index where depth exceeds the minimum value from uv_index for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"uv_index\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000023", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: reading, qc, unit, type\n Sensor: soil_moisture | fields: lon, value, ts, level\nTask: Get value from evaporation where a corresponding entry exists in soil_moisture with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000024", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: qc, value, type, ts\n Sensor: air_quality | fields: lon, qc, reading, lat\nTask: Get reading from snow_depth where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000025", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lon, type, level, depth\n Sensor: dew_point | fields: unit, lat, level, ts\nTask: Retrieve value from rainfall with depth above the COUNT(depth) of dew_point readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"dew_point\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000026", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: reading, lon, depth, ts\n Sensor: snow_depth | fields: value, ts, qc, unit\nTask: Retrieve lon from sunlight that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000027", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: unit, lat, qc, type\n Sensor: cloud_cover | fields: depth, reading, unit, lon\nTask: Fetch lon from wind_speed where type exists in cloud_cover sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000028", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: unit, lat, level, ts\n Sensor: snow_depth | fields: unit, depth, lat, lon\nTask: Get lat from frost where depth exceeds the maximum reading from snow_depth for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000029", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: reading, lon, depth, lat\n Sensor: temperature | fields: ts, level, value, type\nTask: Retrieve lon from evaporation with reading above the MAX(reading) of temperature readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"temperature\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000030", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: type, qc, level, value\n Sensor: temperature | fields: type, level, qc, value\nTask: Get lat from sunlight where a corresponding entry exists in temperature with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000031", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lat, depth, type, ts\n Sensor: humidity | fields: type, depth, level, lon\nTask: Get depth from visibility where a corresponding entry exists in humidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000032", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: qc, depth, level, type\n Sensor: turbidity | fields: reading, qc, lat, unit\nTask: Get lon from cloud_cover where qc appears in turbidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000033", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: level, unit, depth, lon\n Sensor: lightning | fields: unit, reading, qc, value\nTask: Get depth from frost where depth exceeds the average reading from lightning for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"lightning\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000034", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: type, unit, value, lon\n Sensor: soil_moisture | fields: type, unit, value, depth\nTask: Get value from uv_index where qc appears in soil_moisture readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000035", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: ts, lat, level, reading\n Sensor: dew_point | fields: level, type, value, depth\nTask: Fetch depth from soil_moisture where ts exists in dew_point sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000036", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: reading, lon, ts, qc\n Sensor: lightning | fields: lon, value, type, qc\nTask: Retrieve lat from turbidity that have at least one matching reading in lightning sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000037", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: qc, ts, lat, unit\n Sensor: drought_index | fields: ts, qc, reading, lon\nTask: Fetch level from lightning that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000038", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: qc, reading, type, lat\n Sensor: air_quality | fields: reading, lon, depth, lat\nTask: Retrieve level from turbidity whose ts is found in air_quality records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000039", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: level, ts, lat, value\n Sensor: uv_index | fields: unit, type, reading, value\nTask: Get value from humidity where a corresponding entry exists in uv_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "value", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000040", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lon, qc, depth, type\n Sensor: drought_index | fields: value, lat, reading, qc\nTask: Retrieve depth from snow_depth with depth above the SUM(value) of drought_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"drought_index\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000041", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: unit, lat, type, lon\n Sensor: pressure | fields: qc, lon, unit, reading\nTask: Retrieve level from soil_moisture whose unit is found in pressure records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000042", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: reading, value, lon, qc\n Sensor: uv_index | fields: value, lon, depth, type\nTask: Fetch lon from lightning where value is greater than the minimum of depth in uv_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000043", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: qc, type, ts, lon\n Sensor: sunlight | fields: lat, type, qc, unit\nTask: Get value from turbidity where type appears in sunlight readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000044", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: qc, ts, reading, type\n Sensor: soil_moisture | fields: ts, level, qc, lon\nTask: Retrieve lon from temperature whose type is found in soil_moisture records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000045", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: lon, unit, value, level\n Sensor: evaporation | fields: level, value, unit, lat\nTask: Fetch reading from air_quality where qc exists in evaporation sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000046", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: type, depth, qc, reading\n Sensor: humidity | fields: lon, reading, level, unit\nTask: Fetch level from lightning where value is greater than the total of depth in humidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000047", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: reading, ts, qc, level\n Sensor: cloud_cover | fields: unit, lat, ts, type\nTask: Fetch lat from sunlight where depth is greater than the count of of reading in cloud_cover for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000048", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: lon, reading, type, ts\n Sensor: humidity | fields: unit, value, depth, lat\nTask: Fetch reading from visibility that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000049", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: qc, type, depth, lon\n Sensor: frost | fields: depth, reading, ts, lon\nTask: Retrieve lat from soil_moisture with reading above the AVG(depth) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"frost\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000050", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: qc, type, value, unit\n Sensor: evaporation | fields: value, level, reading, lon\nTask: Fetch depth from lightning that have at least one corresponding evaporation measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000051", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: reading, ts, qc, level\n Sensor: snow_depth | fields: qc, type, level, reading\nTask: Get lon from wind_speed where depth appears in snow_depth readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000052", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lat, type, unit, depth\n Sensor: lightning | fields: level, reading, value, lat\nTask: Get value from cloud_cover where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "value", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000053", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: depth, unit, level, ts\n Sensor: pressure | fields: depth, lat, ts, type\nTask: Fetch level from dew_point where type exists in pressure sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000054", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: depth, level, reading, ts\n Sensor: snow_depth | fields: reading, lon, type, lat\nTask: Retrieve value from temperature that have at least one matching reading in snow_depth sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000055", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: ts, reading, lat, unit\n Sensor: soil_moisture | fields: type, qc, value, level\nTask: Fetch lat from sunlight where depth is greater than the total of depth in soil_moisture for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000056", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: unit, qc, value, ts\n Sensor: humidity | fields: lon, type, value, reading\nTask: Retrieve lon from evaporation that have at least one matching reading in humidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000057", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: reading, level, lon, value\n Sensor: temperature | fields: value, qc, type, ts\nTask: Retrieve lat from wind_speed that have at least one matching reading in temperature sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "lat", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000058", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: level, lat, ts, qc\n Sensor: wind_speed | fields: qc, lat, depth, unit\nTask: Get lat from uv_index where type appears in wind_speed readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000059", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: ts, value, level, type\n Sensor: turbidity | fields: value, level, unit, reading\nTask: Fetch lon from soil_moisture where reading is greater than the minimum of depth in turbidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"turbidity\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000060", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: depth, unit, reading, value\n Sensor: visibility | fields: value, depth, ts, level\nTask: Retrieve reading from air_quality with reading above the SUM(depth) of visibility readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"visibility\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000061", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: value, unit, reading, level\n Sensor: evaporation | fields: reading, unit, value, ts\nTask: Get reading from dew_point where reading exceeds the count of depth from evaporation for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"evaporation\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000062", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: value, qc, reading, type\n Sensor: air_quality | fields: value, lon, level, unit\nTask: Get lat from soil_moisture where value exceeds the count of value from air_quality for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"air_quality\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000063", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: lat, depth, reading, lon\n Sensor: wind_speed | fields: lon, ts, unit, reading\nTask: Retrieve depth from evaporation that have at least one matching reading in wind_speed sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000064", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: level, unit, reading, value\n Sensor: uv_index | fields: level, lon, depth, type\nTask: Retrieve level from cloud_cover whose qc is found in uv_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000065", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: level, qc, type, unit\n Sensor: humidity | fields: value, lat, qc, depth\nTask: Get value from temperature where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "value", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000066", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: value, level, lon, unit\n Sensor: dew_point | fields: lat, level, lon, reading\nTask: Get value from uv_index where a corresponding entry exists in dew_point with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000067", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: unit, level, depth, lon\n Sensor: humidity | fields: ts, depth, level, qc\nTask: Fetch depth from evaporation where depth is greater than the minimum of reading in humidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000068", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: reading, depth, lat, value\n Sensor: lightning | fields: lat, lon, depth, value\nTask: Retrieve level from temperature whose qc is found in lightning records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000069", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: level, type, ts, value\n Sensor: sunlight | fields: type, unit, value, reading\nTask: Retrieve level from evaporation with reading above the AVG(value) of sunlight readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"sunlight\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000070", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: reading, value, qc, lon\n Sensor: turbidity | fields: qc, reading, depth, type\nTask: Retrieve lon from evaporation with reading above the SUM(reading) of turbidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"turbidity\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000071", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: level, type, reading, depth\n Sensor: frost | fields: qc, lat, unit, value\nTask: Retrieve value from evaporation that have at least one matching reading in frost sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "value", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000072", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: qc, unit, reading, depth\n Sensor: rainfall | fields: level, reading, ts, depth\nTask: Fetch lat from frost that have at least one corresponding rainfall measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000073", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: type, reading, ts, unit\n Sensor: drought_index | fields: type, unit, depth, value\nTask: Retrieve level from snow_depth whose unit is found in drought_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000074", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: type, ts, lon, level\n Sensor: drought_index | fields: lat, type, qc, reading\nTask: Retrieve level from evaporation that have at least one matching reading in drought_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000075", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: level, type, value, reading\n Sensor: cloud_cover | fields: depth, level, ts, lon\nTask: Get depth from turbidity where ts appears in cloud_cover readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000076", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: level, reading, ts, lat\n Sensor: air_quality | fields: lat, ts, type, reading\nTask: Fetch lon from uv_index where reading is greater than the minimum of value in air_quality for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"air_quality\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000077", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: depth, ts, qc, lon\n Sensor: wind_speed | fields: qc, depth, reading, ts\nTask: Retrieve depth from drought_index with reading above the MAX(depth) of wind_speed readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"wind_speed\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000078", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lon, value, type, depth\n Sensor: evaporation | fields: reading, level, qc, lon\nTask: Fetch level from temperature where depth is greater than the maximum of value in evaporation for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"evaporation\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000079", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: type, unit, lon, reading\n Sensor: dew_point | fields: value, level, ts, lat\nTask: Fetch lon from evaporation where unit exists in dew_point sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000080", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: qc, type, lat, unit\n Sensor: wind_speed | fields: depth, type, level, lon\nTask: Retrieve depth from lightning whose type is found in wind_speed records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000081", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: type, qc, lon, lat\n Sensor: temperature | fields: unit, lon, reading, type\nTask: Get lat from snow_depth where depth appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000082", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: depth, ts, lat, reading\n Sensor: drought_index | fields: ts, reading, type, lon\nTask: Get reading from turbidity where ts appears in drought_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000083", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: depth, unit, value, lat\n Sensor: dew_point | fields: type, depth, ts, value\nTask: Get level from rainfall where a corresponding entry exists in dew_point with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000084", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: qc, lon, reading, depth\n Sensor: evaporation | fields: lon, lat, qc, reading\nTask: Retrieve reading from soil_moisture with value above the MIN(value) of evaporation readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"evaporation\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000085", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: depth, reading, type, unit\n Sensor: sunlight | fields: type, depth, lat, qc\nTask: Fetch value from visibility where depth is greater than the total of value in sunlight for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"sunlight\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000086", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lat, unit, ts, level\n Sensor: uv_index | fields: depth, type, lat, qc\nTask: Retrieve depth from evaporation with reading above the AVG(depth) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"uv_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000087", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: depth, ts, level, value\n Sensor: pressure | fields: value, unit, depth, lon\nTask: Get lat from sunlight where reading exceeds the minimum value from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000088", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: qc, value, unit, level\n Sensor: lightning | fields: lon, level, qc, reading\nTask: Get depth from cloud_cover where value exceeds the maximum depth from lightning for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"lightning\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000089", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: qc, lat, level, reading\n Sensor: lightning | fields: unit, lon, depth, type\nTask: Get depth from visibility where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000090", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: depth, unit, qc, lon\n Sensor: uv_index | fields: unit, level, lon, value\nTask: Get lon from drought_index where depth exceeds the maximum value from uv_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"uv_index\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000091", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: qc, unit, level, lat\n Sensor: frost | fields: unit, lon, ts, reading\nTask: Retrieve reading from snow_depth that have at least one matching reading in frost sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000092", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: type, lat, level, unit\n Sensor: wind_speed | fields: depth, reading, unit, ts\nTask: Get lat from lightning where reading exceeds the count of value from wind_speed for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"wind_speed\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000093", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: type, lat, depth, qc\n Sensor: temperature | fields: lat, lon, ts, reading\nTask: Fetch lat from soil_moisture where value is greater than the minimum of reading in temperature for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"temperature\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000094", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: unit, depth, qc, type\n Sensor: sunlight | fields: reading, lon, unit, qc\nTask: Retrieve level from turbidity whose type is found in sunlight records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000095", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lat, lon, value, ts\n Sensor: air_quality | fields: depth, level, reading, ts\nTask: Retrieve depth from sunlight whose depth is found in air_quality records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000096", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: level, reading, value, unit\n Sensor: uv_index | fields: level, qc, unit, type\nTask: Fetch level from evaporation that have at least one corresponding uv_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000097", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: type, level, value, ts\n Sensor: lightning | fields: lon, qc, level, type\nTask: Retrieve lat from sunlight with value above the MAX(reading) of lightning readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"lightning\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000098", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: depth, value, unit, lat\n Sensor: turbidity | fields: lat, reading, lon, type\nTask: Retrieve lon from lightning with reading above the MIN(reading) of turbidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"turbidity\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000099", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: lat, ts, reading, type\n Sensor: drought_index | fields: lon, level, qc, depth\nTask: Retrieve lon from lightning whose qc is found in drought_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000100", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: type, lat, unit, reading\n Sensor: sunlight | fields: lat, value, reading, level\nTask: Fetch lon from rainfall where depth exists in sunlight sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000101", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: value, qc, depth, ts\n Sensor: soil_moisture | fields: value, unit, lon, type\nTask: Fetch level from drought_index where depth exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000102", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: depth, qc, reading, value\n Sensor: sunlight | fields: type, level, reading, unit\nTask: Retrieve reading from cloud_cover with value above the COUNT(value) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"sunlight\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000103", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: qc, level, value, lon\n Sensor: soil_moisture | fields: unit, level, lon, depth\nTask: Get depth from drought_index where a corresponding entry exists in soil_moisture with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000104", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: ts, lat, reading, value\n Sensor: humidity | fields: reading, lat, type, value\nTask: Get level from snow_depth where a corresponding entry exists in humidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "level", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000105", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: reading, lon, unit, ts\n Sensor: air_quality | fields: ts, qc, unit, type\nTask: Fetch level from wind_speed that have at least one corresponding air_quality measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000106", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: lat, unit, depth, ts\n Sensor: frost | fields: qc, depth, reading, lat\nTask: Retrieve lat from sunlight whose depth is found in frost records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000107", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: value, unit, type, ts\n Sensor: cloud_cover | fields: depth, qc, value, reading\nTask: Get lat from drought_index where qc appears in cloud_cover readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000108", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: qc, reading, depth, lon\n Sensor: dew_point | fields: level, reading, value, qc\nTask: Retrieve value from air_quality whose qc is found in dew_point records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000109", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lon, ts, unit, qc\n Sensor: evaporation | fields: reading, lon, unit, value\nTask: Get depth from wind_speed where a corresponding entry exists in evaporation with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000110", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: reading, value, lat, ts\n Sensor: humidity | fields: qc, level, lat, ts\nTask: Fetch depth from snow_depth where ts exists in humidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000111", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: reading, level, type, value\n Sensor: wind_speed | fields: unit, value, qc, depth\nTask: Get level from temperature where depth appears in wind_speed readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000112", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: value, reading, unit, depth\n Sensor: uv_index | fields: qc, reading, value, lon\nTask: Retrieve reading from frost that have at least one matching reading in uv_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000113", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: depth, unit, lat, level\n Sensor: humidity | fields: level, depth, type, ts\nTask: Get depth from drought_index where a corresponding entry exists in humidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000114", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: value, unit, qc, type\n Sensor: pressure | fields: depth, ts, qc, type\nTask: Get reading from air_quality where a corresponding entry exists in pressure with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000115", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: depth, reading, lat, qc\n Sensor: air_quality | fields: lat, ts, reading, depth\nTask: Fetch depth from humidity where value is greater than the total of reading in air_quality for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"air_quality\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000116", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: type, value, ts, depth\n Sensor: pressure | fields: level, ts, lat, unit\nTask: Retrieve depth from drought_index that have at least one matching reading in pressure sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000117", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lat, ts, reading, level\n Sensor: temperature | fields: level, lat, qc, depth\nTask: Fetch lat from drought_index that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000118", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: lon, type, level, lat\n Sensor: pressure | fields: type, ts, depth, reading\nTask: Fetch lon from turbidity where unit exists in pressure sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000119", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: value, unit, ts, type\n Sensor: air_quality | fields: lon, lat, unit, ts\nTask: Retrieve lon from wind_speed whose ts is found in air_quality records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000120", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: depth, unit, lon, type\n Sensor: frost | fields: unit, lon, level, ts\nTask: Fetch lon from pressure where depth is greater than the count of of depth in frost for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"frost\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000121", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: qc, lon, level, reading\n Sensor: humidity | fields: depth, type, ts, level\nTask: Get level from sunlight where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000122", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: ts, unit, value, depth\n Sensor: frost | fields: unit, lat, type, depth\nTask: Retrieve value from wind_speed with depth above the SUM(depth) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"frost\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000123", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: qc, ts, lat, depth\n Sensor: frost | fields: type, unit, ts, depth\nTask: Retrieve value from sunlight that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000124", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lat, unit, depth, level\n Sensor: cloud_cover | fields: reading, value, level, type\nTask: Fetch depth from pressure that have at least one corresponding cloud_cover measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000125", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lon, type, depth, level\n Sensor: humidity | fields: ts, type, unit, lat\nTask: Retrieve lat from cloud_cover with reading above the AVG(depth) of humidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"humidity\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000126", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: depth, ts, reading, value\n Sensor: pressure | fields: qc, level, lat, ts\nTask: Get lon from frost where depth exceeds the minimum depth from pressure for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"pressure\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000127", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: lat, level, qc, type\n Sensor: sunlight | fields: type, ts, lat, lon\nTask: Fetch level from uv_index that have at least one corresponding sunlight measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "level", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000128", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: lon, qc, level, value\n Sensor: wind_speed | fields: unit, reading, lat, ts\nTask: Retrieve reading from uv_index with value above the AVG(value) of wind_speed readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"wind_speed\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000129", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: qc, reading, lat, value\n Sensor: pressure | fields: lon, value, type, qc\nTask: Fetch depth from temperature where type exists in pressure sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000130", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: ts, value, level, qc\n Sensor: frost | fields: reading, depth, value, type\nTask: Retrieve value from humidity with reading above the AVG(reading) of frost readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"frost\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000131", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: level, reading, ts, lat\n Sensor: cloud_cover | fields: lat, depth, unit, ts\nTask: Get lon from uv_index where ts appears in cloud_cover readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000132", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: ts, type, qc, unit\n Sensor: frost | fields: depth, reading, ts, type\nTask: Fetch value from snow_depth that have at least one corresponding frost measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "value", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000133", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: qc, level, lat, lon\n Sensor: lightning | fields: unit, depth, lat, qc\nTask: Fetch value from snow_depth that have at least one corresponding lightning measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "value", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000134", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: type, unit, lon, value\n Sensor: soil_moisture | fields: reading, lat, qc, level\nTask: Fetch reading from temperature where reading is greater than the total of depth in soil_moisture for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000135", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: unit, lon, value, qc\n Sensor: evaporation | fields: lon, qc, reading, unit\nTask: Get value from humidity where unit appears in evaporation readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000136", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: level, lat, lon, type\n Sensor: humidity | fields: ts, depth, unit, lat\nTask: Fetch depth from rainfall that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000137", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: level, lon, reading, value\n Sensor: sunlight | fields: ts, lat, depth, unit\nTask: Get lat from pressure where depth appears in sunlight readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000138", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: level, value, type, depth\n Sensor: air_quality | fields: reading, lon, level, value\nTask: Get depth from rainfall where a corresponding entry exists in air_quality with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000139", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: reading, value, type, ts\n Sensor: frost | fields: ts, unit, level, value\nTask: Get reading from cloud_cover where a corresponding entry exists in frost with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "reading", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000140", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: value, reading, qc, lon\n Sensor: snow_depth | fields: qc, type, reading, unit\nTask: Retrieve value from drought_index that have at least one matching reading in snow_depth sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "value", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000141", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: unit, depth, ts, type\n Sensor: rainfall | fields: type, lat, value, unit\nTask: Fetch depth from frost where type exists in rainfall sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000142", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: ts, lat, unit, reading\n Sensor: uv_index | fields: qc, depth, value, level\nTask: Retrieve reading from humidity that have at least one matching reading in uv_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000143", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: lon, unit, type, lat\n Sensor: drought_index | fields: type, depth, unit, qc\nTask: Fetch reading from sunlight where depth is greater than the average of reading in drought_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"drought_index\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000144", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: ts, reading, lat, value\n Sensor: soil_moisture | fields: lat, lon, level, unit\nTask: Fetch lon from uv_index where qc exists in soil_moisture sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000145", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: reading, lat, unit, ts\n Sensor: turbidity | fields: reading, lon, qc, type\nTask: Retrieve depth from humidity that have at least one matching reading in turbidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000146", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: level, depth, type, qc\n Sensor: wind_speed | fields: reading, depth, level, qc\nTask: Retrieve value from cloud_cover with depth above the COUNT(value) of wind_speed readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000147", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: value, level, ts, lat\n Sensor: frost | fields: level, lat, ts, reading\nTask: Fetch depth from rainfall where depth exists in frost sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000148", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: unit, reading, depth, level\n Sensor: uv_index | fields: lon, reading, depth, type\nTask: Fetch lon from humidity that have at least one corresponding uv_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000149", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lon, value, qc, unit\n Sensor: lightning | fields: value, type, ts, lon\nTask: Retrieve depth from pressure with value above the SUM(value) of lightning readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000150", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: ts, level, unit, depth\n Sensor: pressure | fields: qc, lat, level, unit\nTask: Get lat from dew_point where unit appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000151", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lat, level, lon, qc\n Sensor: evaporation | fields: lat, ts, qc, reading\nTask: Retrieve lon from turbidity whose depth is found in evaporation records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000152", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: reading, type, lat, qc\n Sensor: drought_index | fields: ts, type, qc, lon\nTask: Retrieve lon from wind_speed that have at least one matching reading in drought_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000153", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: unit, type, qc, level\n Sensor: sunlight | fields: value, level, ts, unit\nTask: Fetch reading from dew_point that have at least one corresponding sunlight measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000154", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: ts, qc, depth, level\n Sensor: wind_speed | fields: value, level, lon, lat\nTask: Retrieve value from snow_depth whose ts is found in wind_speed records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000155", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: unit, qc, reading, lon\n Sensor: dew_point | fields: level, qc, type, ts\nTask: Fetch lon from humidity where value is greater than the minimum of reading in dew_point for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"dew_point\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000156", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: ts, value, lat, unit\n Sensor: pressure | fields: depth, lon, type, ts\nTask: Retrieve lon from evaporation with value above the COUNT(reading) of pressure readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"pressure\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000157", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: value, unit, level, lat\n Sensor: turbidity | fields: type, reading, depth, level\nTask: Get value from lightning where type appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000158", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: level, ts, qc, unit\n Sensor: sunlight | fields: reading, lat, lon, value\nTask: Retrieve depth from rainfall with value above the MAX(depth) of sunlight readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"sunlight\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000159", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: qc, reading, lat, depth\n Sensor: humidity | fields: reading, value, lat, depth\nTask: Retrieve level from soil_moisture with value above the MAX(value) of humidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"humidity\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000160", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: qc, depth, level, value\n Sensor: frost | fields: lat, depth, unit, level\nTask: Get value from soil_moisture where a corresponding entry exists in frost with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000161", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: unit, lon, type, reading\n Sensor: wind_speed | fields: level, lon, type, value\nTask: Get lat from sunlight where a corresponding entry exists in wind_speed with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lat", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000162", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: ts, lat, lon, level\n Sensor: wind_speed | fields: ts, value, depth, lat\nTask: Retrieve reading from frost whose qc is found in wind_speed records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000163", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lat, type, qc, ts\n Sensor: frost | fields: lat, depth, unit, lon\nTask: Retrieve depth from wind_speed with depth above the MAX(reading) of frost readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"frost\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000164", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: level, type, lon, lat\n Sensor: sunlight | fields: lon, qc, ts, type\nTask: Retrieve level from wind_speed with depth above the SUM(depth) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"sunlight\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000165", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: lat, level, lon, value\n Sensor: drought_index | fields: lon, ts, value, reading\nTask: Retrieve depth from pressure whose qc is found in drought_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000166", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: value, type, lon, ts\n Sensor: soil_moisture | fields: value, type, reading, level\nTask: Fetch level from lightning where value is greater than the maximum of depth in soil_moisture for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000167", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: qc, value, level, type\n Sensor: wind_speed | fields: value, depth, lon, unit\nTask: Get level from sunlight where type appears in wind_speed readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000168", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: value, reading, type, ts\n Sensor: lightning | fields: lat, ts, value, reading\nTask: Retrieve depth from temperature that have at least one matching reading in lightning sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000169", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: unit, depth, lat, qc\n Sensor: uv_index | fields: value, lat, reading, ts\nTask: Fetch reading from temperature where value is greater than the count of of reading in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"uv_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000170", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: level, lat, unit, lon\n Sensor: frost | fields: level, unit, type, lat\nTask: Get level from rainfall where a corresponding entry exists in frost with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000171", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: ts, unit, reading, lon\n Sensor: sunlight | fields: type, value, ts, reading\nTask: Fetch lat from rainfall that have at least one corresponding sunlight measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000172", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: unit, level, ts, depth\n Sensor: drought_index | fields: value, type, ts, unit\nTask: Get lon from dew_point where depth exceeds the total reading from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000173", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: reading, lat, level, lon\n Sensor: drought_index | fields: reading, lat, level, value\nTask: Fetch level from temperature that have at least one corresponding drought_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000174", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: qc, lat, ts, type\n Sensor: turbidity | fields: value, qc, ts, lon\nTask: Fetch lon from humidity that have at least one corresponding turbidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lon", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000175", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: type, depth, level, value\n Sensor: wind_speed | fields: lat, level, lon, type\nTask: Get lat from evaporation where a corresponding entry exists in wind_speed with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000176", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: depth, value, level, unit\n Sensor: air_quality | fields: lat, qc, lon, reading\nTask: Get reading from turbidity where reading exceeds the total value from air_quality for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000177", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: depth, qc, lat, lon\n Sensor: temperature | fields: lat, depth, value, type\nTask: Retrieve value from snow_depth that have at least one matching reading in temperature sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "value", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000178", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: type, level, ts, value\n Sensor: visibility | fields: type, level, unit, depth\nTask: Fetch lat from sunlight where type exists in visibility sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000179", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: qc, unit, reading, level\n Sensor: lightning | fields: unit, level, qc, lat\nTask: Get value from rainfall where depth appears in lightning readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000180", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: qc, value, depth, type\n Sensor: frost | fields: type, reading, level, depth\nTask: Fetch reading from temperature where depth is greater than the maximum of depth in frost for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"frost\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000181", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: unit, qc, lat, depth\n Sensor: cloud_cover | fields: type, qc, reading, lon\nTask: Get level from lightning where a corresponding entry exists in cloud_cover with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "level", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000182", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: type, depth, lat, lon\n Sensor: humidity | fields: ts, lat, unit, type\nTask: Fetch lat from rainfall where reading is greater than the total of reading in humidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"humidity\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000183", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: level, ts, unit, qc\n Sensor: drought_index | fields: unit, type, qc, depth\nTask: Get lon from uv_index where depth appears in drought_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000184", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: value, lon, qc, lat\n Sensor: wind_speed | fields: unit, reading, depth, qc\nTask: Retrieve level from snow_depth that have at least one matching reading in wind_speed sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000185", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: lon, qc, type, lat\n Sensor: humidity | fields: type, unit, lon, ts\nTask: Get level from pressure where value exceeds the minimum depth from humidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"humidity\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000186", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: unit, ts, level, lon\n Sensor: lightning | fields: qc, lon, depth, type\nTask: Retrieve value from snow_depth whose type is found in lightning records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000187", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: type, depth, level, reading\n Sensor: visibility | fields: depth, ts, lon, reading\nTask: Fetch reading from temperature where unit exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000188", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: qc, level, type, depth\n Sensor: lightning | fields: reading, lat, qc, unit\nTask: Fetch depth from temperature where unit exists in lightning sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000189", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: qc, depth, lon, value\n Sensor: humidity | fields: unit, lon, level, ts\nTask: Fetch level from soil_moisture that have at least one corresponding humidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "level", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000190", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: value, ts, type, qc\n Sensor: turbidity | fields: reading, unit, type, lon\nTask: Fetch level from pressure where qc exists in turbidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000191", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: lat, type, reading, value\n Sensor: dew_point | fields: lat, type, unit, reading\nTask: Fetch level from humidity where unit exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000192", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: value, qc, depth, type\n Sensor: humidity | fields: level, qc, lat, ts\nTask: Fetch value from visibility where qc exists in humidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000193", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: qc, value, unit, depth\n Sensor: temperature | fields: unit, lon, ts, level\nTask: Get reading from humidity where a corresponding entry exists in temperature with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000194", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: unit, value, qc, depth\n Sensor: uv_index | fields: type, unit, qc, lon\nTask: Fetch depth from rainfall where qc exists in uv_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000195", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: depth, lon, level, lat\n Sensor: lightning | fields: lat, level, value, depth\nTask: Fetch value from temperature where unit exists in lightning sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000196", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: qc, ts, type, value\n Sensor: wind_speed | fields: ts, value, qc, type\nTask: Retrieve value from pressure whose type is found in wind_speed records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000197", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: type, lat, qc, ts\n Sensor: dew_point | fields: depth, level, lon, qc\nTask: Get reading from uv_index where a corresponding entry exists in dew_point with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000198", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: unit, level, ts, depth\n Sensor: lightning | fields: type, depth, value, lon\nTask: Get value from wind_speed where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "value", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000199", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lon, ts, type, value\n Sensor: rainfall | fields: reading, unit, type, qc\nTask: Fetch lat from temperature where depth is greater than the minimum of value in rainfall for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"rainfall\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000200", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: level, unit, reading, type\n Sensor: turbidity | fields: depth, ts, value, unit\nTask: Get value from cloud_cover where a corresponding entry exists in turbidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "value", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000201", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: depth, ts, unit, lat\n Sensor: sunlight | fields: qc, lat, depth, reading\nTask: Get level from rainfall where a corresponding entry exists in sunlight with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000202", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: lat, depth, qc, level\n Sensor: evaporation | fields: type, depth, value, lat\nTask: Retrieve lon from wind_speed that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000203", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: ts, unit, lat, value\n Sensor: wind_speed | fields: level, ts, lat, value\nTask: Get lat from cloud_cover where a corresponding entry exists in wind_speed with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000204", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: value, depth, lon, qc\n Sensor: soil_moisture | fields: lat, reading, level, qc\nTask: Retrieve reading from drought_index with value above the SUM(depth) of soil_moisture readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000205", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: qc, level, value, ts\n Sensor: turbidity | fields: value, depth, unit, qc\nTask: Fetch lat from soil_moisture where value is greater than the average of value in turbidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"turbidity\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000206", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: lon, lat, unit, level\n Sensor: wind_speed | fields: depth, qc, ts, reading\nTask: Get reading from frost where a corresponding entry exists in wind_speed with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000207", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: reading, lat, lon, unit\n Sensor: air_quality | fields: value, lon, ts, level\nTask: Get level from frost where a corresponding entry exists in air_quality with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "level", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000208", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lon, unit, qc, type\n Sensor: humidity | fields: value, reading, lon, qc\nTask: Get lon from rainfall where ts appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000209", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lon, qc, level, value\n Sensor: temperature | fields: qc, lat, type, depth\nTask: Fetch level from visibility that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "level", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000210", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: level, type, value, qc\n Sensor: pressure | fields: value, qc, lon, type\nTask: Get lon from rainfall where a corresponding entry exists in pressure with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000211", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: depth, level, value, lat\n Sensor: dew_point | fields: reading, type, level, value\nTask: Fetch level from sunlight that have at least one corresponding dew_point measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "level", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000212", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: unit, type, lat, level\n Sensor: lightning | fields: reading, level, depth, qc\nTask: Get reading from rainfall where a corresponding entry exists in lightning with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000213", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: depth, qc, unit, value\n Sensor: humidity | fields: lon, reading, qc, unit\nTask: Retrieve reading from sunlight with reading above the AVG(reading) of humidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000214", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: unit, value, level, ts\n Sensor: turbidity | fields: unit, ts, depth, lat\nTask: Get value from snow_depth where unit appears in turbidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000215", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: qc, depth, reading, lat\n Sensor: visibility | fields: ts, value, type, unit\nTask: Get lat from cloud_cover where depth appears in visibility readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000216", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: level, lon, reading, ts\n Sensor: drought_index | fields: lat, reading, value, level\nTask: Get value from wind_speed where qc appears in drought_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000217", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: reading, ts, level, depth\n Sensor: snow_depth | fields: level, ts, unit, lon\nTask: Retrieve depth from lightning that have at least one matching reading in snow_depth sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000218", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: reading, level, type, ts\n Sensor: wind_speed | fields: ts, level, value, lon\nTask: Fetch depth from rainfall where ts exists in wind_speed sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000219", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: ts, depth, reading, type\n Sensor: evaporation | fields: level, ts, qc, lon\nTask: Fetch level from soil_moisture that have at least one corresponding evaporation measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000220", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: unit, ts, level, type\n Sensor: pressure | fields: lat, unit, lon, depth\nTask: Fetch level from turbidity where unit exists in pressure sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000221", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: depth, qc, value, type\n Sensor: sunlight | fields: type, ts, unit, lat\nTask: Fetch reading from lightning where value is greater than the minimum of reading in sunlight for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000222", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: reading, unit, type, depth\n Sensor: wind_speed | fields: value, lon, reading, lat\nTask: Fetch lat from rainfall where reading is greater than the average of reading in wind_speed for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"wind_speed\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000223", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: reading, unit, type, level\n Sensor: evaporation | fields: qc, ts, lon, reading\nTask: Fetch lon from lightning that have at least one corresponding evaporation measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000224", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lat, qc, value, depth\n Sensor: sunlight | fields: qc, type, lon, depth\nTask: Get lon from turbidity where reading exceeds the count of depth from sunlight for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000225", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: qc, reading, unit, lat\n Sensor: dew_point | fields: reading, lon, type, value\nTask: Get lon from lightning where depth exceeds the maximum reading from dew_point for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"dew_point\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000226", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: qc, ts, type, unit\n Sensor: humidity | fields: type, value, ts, qc\nTask: Retrieve reading from turbidity whose unit is found in humidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000227", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: reading, qc, type, unit\n Sensor: dew_point | fields: lon, reading, value, type\nTask: Fetch level from frost where depth exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000228", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: type, value, reading, level\n Sensor: air_quality | fields: qc, lat, type, unit\nTask: Get reading from uv_index where value exceeds the minimum value from air_quality for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000229", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: type, lon, ts, depth\n Sensor: air_quality | fields: level, lon, type, unit\nTask: Get lat from uv_index where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000230", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lat, ts, type, qc\n Sensor: uv_index | fields: qc, level, lat, unit\nTask: Get depth from soil_moisture where a corresponding entry exists in uv_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000231", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: ts, qc, depth, value\n Sensor: frost | fields: qc, type, lat, ts\nTask: Get depth from air_quality where a corresponding entry exists in frost with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000232", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: depth, level, ts, lon\n Sensor: frost | fields: value, type, reading, ts\nTask: Fetch level from humidity where depth is greater than the maximum of reading in frost for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"frost\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000233", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: ts, type, depth, reading\n Sensor: dew_point | fields: lat, unit, ts, qc\nTask: Fetch lat from humidity where type exists in dew_point sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000234", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lat, type, level, qc\n Sensor: drought_index | fields: value, lon, ts, depth\nTask: Retrieve lon from lightning that have at least one matching reading in drought_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000235", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: ts, level, lon, value\n Sensor: temperature | fields: qc, level, lon, ts\nTask: Retrieve value from drought_index with reading above the MAX(value) of temperature readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"temperature\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000236", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: lon, value, type, depth\n Sensor: visibility | fields: reading, type, unit, lat\nTask: Fetch level from rainfall that have at least one corresponding visibility measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "level", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000237", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: type, reading, unit, ts\n Sensor: air_quality | fields: ts, qc, value, reading\nTask: Retrieve depth from rainfall with value above the AVG(depth) of air_quality readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000238", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: qc, type, lat, lon\n Sensor: pressure | fields: unit, level, lat, ts\nTask: Retrieve lon from frost with depth above the COUNT(reading) of pressure readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"pressure\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000239", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: depth, qc, ts, type\n Sensor: pressure | fields: type, lat, value, ts\nTask: Fetch value from dew_point that have at least one corresponding pressure measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000240", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: value, depth, lat, type\n Sensor: wind_speed | fields: lat, ts, unit, qc\nTask: Fetch lat from temperature where depth is greater than the count of of value in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"wind_speed\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000241", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: type, reading, lon, lat\n Sensor: frost | fields: depth, ts, value, qc\nTask: Get reading from turbidity where a corresponding entry exists in frost with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000242", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: reading, lon, depth, ts\n Sensor: air_quality | fields: type, level, reading, lat\nTask: Get lon from dew_point where qc appears in air_quality readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000243", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: level, ts, value, reading\n Sensor: wind_speed | fields: level, unit, type, lat\nTask: Fetch reading from drought_index where depth exists in wind_speed sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000244", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: qc, reading, ts, depth\n Sensor: lightning | fields: ts, lon, qc, depth\nTask: Get depth from uv_index where reading exceeds the minimum reading from lightning for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"lightning\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000245", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: type, reading, depth, lat\n Sensor: drought_index | fields: unit, lon, type, reading\nTask: Fetch lat from wind_speed where qc exists in drought_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000246", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: level, qc, reading, type\n Sensor: turbidity | fields: unit, depth, value, level\nTask: Retrieve reading from frost that have at least one matching reading in turbidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000247", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: value, type, unit, depth\n Sensor: temperature | fields: value, qc, level, type\nTask: Retrieve depth from frost that have at least one matching reading in temperature sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000248", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: depth, lat, reading, qc\n Sensor: frost | fields: depth, level, reading, ts\nTask: Fetch depth from drought_index where reading is greater than the total of value in frost for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000249", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: level, type, ts, value\n Sensor: humidity | fields: ts, depth, type, unit\nTask: Fetch reading from drought_index that have at least one corresponding humidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "reading", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000250", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: qc, reading, lon, type\n Sensor: dew_point | fields: lon, depth, ts, value\nTask: Fetch depth from pressure where unit exists in dew_point sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000251", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: qc, ts, type, depth\n Sensor: soil_moisture | fields: reading, unit, level, value\nTask: Get lon from frost where depth exceeds the average reading from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000252", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: type, lat, lon, level\n Sensor: rainfall | fields: value, ts, lat, type\nTask: Get value from turbidity where depth exceeds the minimum depth from rainfall for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"rainfall\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000253", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: value, ts, type, lat\n Sensor: soil_moisture | fields: ts, lon, unit, type\nTask: Retrieve level from humidity whose depth is found in soil_moisture records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000254", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: ts, unit, reading, lon\n Sensor: evaporation | fields: lon, qc, lat, reading\nTask: Fetch reading from humidity that have at least one corresponding evaporation measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000255", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: unit, value, qc, lon\n Sensor: cloud_cover | fields: lat, qc, value, type\nTask: Fetch value from rainfall that have at least one corresponding cloud_cover measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "value", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000256", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: lon, depth, qc, level\n Sensor: cloud_cover | fields: level, type, depth, ts\nTask: Retrieve lat from visibility with value above the SUM(depth) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000257", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: lat, qc, type, depth\n Sensor: humidity | fields: lon, unit, ts, depth\nTask: Get depth from sunlight where a corresponding entry exists in humidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000258", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: ts, qc, lon, lat\n Sensor: lightning | fields: ts, level, unit, lat\nTask: Fetch level from rainfall where qc exists in lightning sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000259", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: level, lon, lat, ts\n Sensor: visibility | fields: unit, ts, lon, qc\nTask: Get reading from turbidity where depth exceeds the average value from visibility for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"visibility\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000260", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: value, depth, reading, lat\n Sensor: temperature | fields: reading, level, unit, qc\nTask: Get depth from sunlight where depth appears in temperature readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000261", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: value, lon, level, unit\n Sensor: wind_speed | fields: ts, type, reading, lon\nTask: Get lat from humidity where a corresponding entry exists in wind_speed with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000262", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: lat, qc, type, depth\n Sensor: sunlight | fields: value, type, qc, lat\nTask: Fetch level from temperature where depth exists in sunlight sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000263", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: level, ts, lon, unit\n Sensor: lightning | fields: unit, reading, ts, level\nTask: Fetch lon from humidity that have at least one corresponding lightning measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000264", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: depth, value, ts, lat\n Sensor: visibility | fields: type, qc, reading, lon\nTask: Get level from snow_depth where unit appears in visibility readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "level", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000265", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: lat, lon, depth, type\n Sensor: sunlight | fields: unit, type, lat, value\nTask: Get value from drought_index where depth exceeds the average depth from sunlight for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000266", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: lat, type, level, unit\n Sensor: rainfall | fields: depth, lon, reading, ts\nTask: Fetch value from evaporation where qc exists in rainfall sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000267", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: value, depth, type, qc\n Sensor: drought_index | fields: qc, lon, unit, type\nTask: Get level from frost where unit appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000268", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, level, reading, qc\n Sensor: air_quality | fields: level, qc, depth, reading\nTask: Retrieve value from uv_index that have at least one matching reading in air_quality sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000269", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: level, qc, reading, value\n Sensor: lightning | fields: value, qc, lat, depth\nTask: Retrieve reading from cloud_cover whose depth is found in lightning records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000270", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: ts, lon, level, qc\n Sensor: sunlight | fields: value, level, depth, unit\nTask: Retrieve lon from pressure that have at least one matching reading in sunlight sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lon", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000271", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: unit, lon, lat, ts\n Sensor: pressure | fields: value, qc, depth, lat\nTask: Retrieve depth from rainfall that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000272", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: unit, depth, lon, level\n Sensor: uv_index | fields: lat, depth, value, unit\nTask: Retrieve reading from lightning with depth above the MAX(value) of uv_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"uv_index\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000273", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: qc, type, unit, value\n Sensor: lightning | fields: lon, unit, ts, depth\nTask: Fetch value from temperature where reading is greater than the minimum of depth in lightning for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"lightning\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000274", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: unit, qc, lat, lon\n Sensor: humidity | fields: unit, lat, reading, ts\nTask: Get reading from evaporation where type appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000275", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: reading, ts, level, unit\n Sensor: pressure | fields: unit, depth, type, reading\nTask: Get level from snow_depth where qc appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000276", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: level, type, qc, value\n Sensor: uv_index | fields: unit, lon, reading, depth\nTask: Retrieve level from visibility whose type is found in uv_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000277", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: type, ts, depth, qc\n Sensor: dew_point | fields: level, type, depth, lon\nTask: Retrieve depth from humidity with depth above the MIN(value) of dew_point readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"dew_point\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000278", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: type, unit, qc, reading\n Sensor: visibility | fields: level, unit, lon, depth\nTask: Fetch reading from drought_index where type exists in visibility sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "reading", "filter_col": "type", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000279", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: ts, value, lat, level\n Sensor: sunlight | fields: lat, unit, ts, lon\nTask: Get reading from evaporation where reading exceeds the maximum depth from sunlight for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"sunlight\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000280", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: level, qc, value, reading\n Sensor: uv_index | fields: level, qc, reading, lon\nTask: Fetch reading from visibility where qc exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000281", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: value, level, qc, lat\n Sensor: humidity | fields: type, qc, unit, reading\nTask: Fetch depth from soil_moisture where ts exists in humidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000282", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: reading, value, depth, level\n Sensor: lightning | fields: level, ts, reading, depth\nTask: Get depth from soil_moisture where depth exceeds the count of value from lightning for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"lightning\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000283", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: lat, value, unit, reading\n Sensor: temperature | fields: unit, lat, depth, value\nTask: Fetch value from snow_depth where unit exists in temperature sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000284", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: level, lat, value, qc\n Sensor: cloud_cover | fields: reading, lon, qc, ts\nTask: Retrieve reading from humidity whose unit is found in cloud_cover records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000285", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: value, type, depth, reading\n Sensor: pressure | fields: qc, value, reading, unit\nTask: Get reading from soil_moisture where value exceeds the average value from pressure for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000286", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lat, value, ts, reading\n Sensor: air_quality | fields: lon, ts, value, lat\nTask: Fetch depth from wind_speed that have at least one corresponding air_quality measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000287", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: depth, unit, level, reading\n Sensor: air_quality | fields: reading, unit, lon, lat\nTask: Fetch lat from humidity where depth is greater than the average of depth in air_quality for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"air_quality\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000288", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: level, value, reading, unit\n Sensor: soil_moisture | fields: lon, lat, reading, level\nTask: Retrieve level from snow_depth with reading above the MIN(depth) of soil_moisture readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000289", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: level, type, reading, unit\n Sensor: humidity | fields: lat, value, lon, ts\nTask: Retrieve lat from rainfall that have at least one matching reading in humidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lat", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000290", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: type, qc, unit, ts\n Sensor: wind_speed | fields: reading, lon, value, type\nTask: Retrieve depth from sunlight with reading above the AVG(depth) of wind_speed readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"wind_speed\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000291", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: reading, level, type, depth\n Sensor: wind_speed | fields: reading, lat, unit, qc\nTask: Fetch lon from drought_index that have at least one corresponding wind_speed measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000292", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: type, level, lon, reading\n Sensor: sunlight | fields: reading, qc, value, lat\nTask: Retrieve level from lightning that have at least one matching reading in sunlight sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000293", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: level, lat, reading, unit\n Sensor: temperature | fields: value, depth, type, level\nTask: Fetch depth from soil_moisture that have at least one corresponding temperature measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000294", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: type, level, lon, value\n Sensor: wind_speed | fields: ts, depth, unit, lat\nTask: Retrieve depth from cloud_cover with depth above the COUNT(value) of wind_speed readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"wind_speed\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000295", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: value, reading, unit, ts\n Sensor: pressure | fields: depth, ts, unit, type\nTask: Retrieve depth from cloud_cover with depth above the MIN(depth) of pressure readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"pressure\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000296", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: depth, unit, type, lat\n Sensor: lightning | fields: level, lon, depth, ts\nTask: Retrieve lon from soil_moisture that have at least one matching reading in lightning sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000297", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: qc, lon, value, lat\n Sensor: dew_point | fields: level, lon, reading, depth\nTask: Fetch level from lightning where depth is greater than the count of of value in dew_point for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"dew_point\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000298", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: level, qc, lon, value\n Sensor: frost | fields: qc, depth, lat, reading\nTask: Get value from snow_depth where a corresponding entry exists in frost with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000299", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: type, lat, ts, unit\n Sensor: soil_moisture | fields: type, unit, qc, level\nTask: Get value from air_quality where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000300", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: value, ts, qc, type\n Sensor: sunlight | fields: lat, type, level, lon\nTask: Get lon from soil_moisture where ts appears in sunlight readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000301", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: ts, type, unit, lon\n Sensor: pressure | fields: depth, lon, qc, value\nTask: Fetch depth from lightning where reading is greater than the minimum of value in pressure for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000302", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lat, unit, type, depth\n Sensor: frost | fields: type, unit, reading, value\nTask: Get lon from wind_speed where ts appears in frost readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000303", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: lat, value, ts, qc\n Sensor: drought_index | fields: level, value, lon, type\nTask: Get reading from soil_moisture where depth appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000304", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: ts, lon, level, value\n Sensor: drought_index | fields: lon, type, unit, qc\nTask: Get reading from dew_point where value exceeds the count of reading from drought_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"drought_index\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000305", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: qc, ts, depth, type\n Sensor: turbidity | fields: lon, unit, lat, value\nTask: Retrieve depth from air_quality with value above the MAX(reading) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"turbidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000306", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: depth, value, type, qc\n Sensor: uv_index | fields: type, qc, ts, unit\nTask: Get reading from cloud_cover where depth appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000307", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: reading, lat, unit, value\n Sensor: snow_depth | fields: lon, qc, level, ts\nTask: Fetch value from lightning where ts exists in snow_depth sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000308", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: reading, unit, level, lat\n Sensor: pressure | fields: unit, reading, qc, lon\nTask: Fetch depth from wind_speed that have at least one corresponding pressure measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000309", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: value, qc, reading, unit\n Sensor: lightning | fields: value, qc, type, lat\nTask: Retrieve lat from turbidity that have at least one matching reading in lightning sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000310", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: type, qc, lon, level\n Sensor: wind_speed | fields: depth, ts, value, reading\nTask: Get depth from drought_index where unit appears in wind_speed readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000311", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: reading, level, type, value\n Sensor: visibility | fields: ts, level, reading, type\nTask: Get depth from turbidity where ts appears in visibility readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000312", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: unit, lat, level, reading\n Sensor: uv_index | fields: lon, lat, value, qc\nTask: Get lon from visibility where value exceeds the total depth from uv_index for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"uv_index\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000313", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: unit, lat, qc, lon\n Sensor: lightning | fields: lon, reading, level, ts\nTask: Fetch lat from uv_index where value is greater than the minimum of reading in lightning for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"lightning\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000314", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: level, depth, qc, lat\n Sensor: air_quality | fields: depth, level, qc, ts\nTask: Get lon from cloud_cover where a corresponding entry exists in air_quality with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000315", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: unit, value, type, depth\n Sensor: visibility | fields: value, type, level, ts\nTask: Fetch lat from frost where depth is greater than the maximum of depth in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"visibility\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000316", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: value, qc, depth, unit\n Sensor: sunlight | fields: ts, unit, value, reading\nTask: Fetch level from visibility where value is greater than the total of reading in sunlight for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"sunlight\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000317", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: value, ts, level, qc\n Sensor: drought_index | fields: lat, lon, unit, depth\nTask: Retrieve lon from wind_speed whose depth is found in drought_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000318", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: depth, unit, ts, type\n Sensor: dew_point | fields: level, qc, type, reading\nTask: Retrieve lat from soil_moisture that have at least one matching reading in dew_point sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000319", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: value, unit, lat, type\n Sensor: snow_depth | fields: qc, value, type, lat\nTask: Get lat from lightning where a corresponding entry exists in snow_depth with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000320", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: qc, level, reading, type\n Sensor: lightning | fields: lon, ts, qc, unit\nTask: Retrieve level from turbidity that have at least one matching reading in lightning sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000321", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: type, qc, value, reading\n Sensor: cloud_cover | fields: type, ts, qc, level\nTask: Get depth from frost where depth appears in cloud_cover readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000322", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: reading, qc, ts, value\n Sensor: turbidity | fields: lat, unit, type, level\nTask: Get reading from drought_index where ts appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000323", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: unit, type, reading, qc\n Sensor: drought_index | fields: value, level, ts, qc\nTask: Fetch value from sunlight that have at least one corresponding drought_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000324", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: qc, depth, ts, unit\n Sensor: humidity | fields: type, level, unit, qc\nTask: Retrieve level from lightning whose depth is found in humidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000325", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: value, depth, lat, unit\n Sensor: humidity | fields: lat, ts, unit, type\nTask: Fetch reading from rainfall that have at least one corresponding humidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000326", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: level, qc, lon, type\n Sensor: pressure | fields: ts, qc, type, depth\nTask: Get lat from visibility where unit appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000327", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: depth, ts, qc, type\n Sensor: evaporation | fields: unit, reading, lat, value\nTask: Fetch value from humidity where depth is greater than the count of of depth in evaporation for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"evaporation\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000328", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: level, depth, unit, value\n Sensor: cloud_cover | fields: value, ts, qc, depth\nTask: Fetch reading from snow_depth where ts exists in cloud_cover sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000329", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: value, qc, level, ts\n Sensor: soil_moisture | fields: type, lon, value, reading\nTask: Fetch value from cloud_cover where qc exists in soil_moisture sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000330", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: ts, type, value, lat\n Sensor: turbidity | fields: type, depth, lon, level\nTask: Get depth from cloud_cover where depth appears in turbidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000331", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: level, depth, unit, type\n Sensor: cloud_cover | fields: type, lat, qc, unit\nTask: Get value from drought_index where depth exceeds the minimum value from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"cloud_cover\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000332", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: value, ts, lat, type\n Sensor: temperature | fields: value, lon, reading, type\nTask: Get level from sunlight where ts appears in temperature readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000333", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: level, reading, lat, qc\n Sensor: soil_moisture | fields: unit, ts, lat, reading\nTask: Fetch reading from evaporation where qc exists in soil_moisture sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000334", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: lat, type, qc, reading\n Sensor: temperature | fields: lat, reading, qc, ts\nTask: Retrieve reading from cloud_cover whose ts is found in temperature records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000335", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: ts, lon, depth, lat\n Sensor: cloud_cover | fields: ts, type, lat, depth\nTask: Fetch level from evaporation that have at least one corresponding cloud_cover measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "level", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000336", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: ts, lon, unit, level\n Sensor: frost | fields: lon, value, lat, level\nTask: Get reading from drought_index where value exceeds the total depth from frost for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"frost\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000337", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: depth, level, ts, type\n Sensor: dew_point | fields: unit, ts, type, lat\nTask: Get lon from visibility where reading exceeds the count of value from dew_point for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"dew_point\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000338", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lon, type, depth, reading\n Sensor: wind_speed | fields: lat, lon, unit, qc\nTask: Get lat from rainfall where unit appears in wind_speed readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000339", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: depth, value, ts, lat\n Sensor: evaporation | fields: value, reading, unit, level\nTask: Get depth from dew_point where value exceeds the total value from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"evaporation\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000340", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: unit, lon, lat, level\n Sensor: wind_speed | fields: unit, lat, reading, type\nTask: Get value from lightning where a corresponding entry exists in wind_speed with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "value", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000341", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lon, lat, value, type\n Sensor: wind_speed | fields: level, value, unit, lat\nTask: Retrieve value from visibility whose depth is found in wind_speed records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000342", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: level, value, ts, unit\n Sensor: lightning | fields: lon, value, level, ts\nTask: Get lat from turbidity where unit appears in lightning readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000343", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: level, type, lat, reading\n Sensor: soil_moisture | fields: depth, type, lon, unit\nTask: Retrieve value from cloud_cover that have at least one matching reading in soil_moisture sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000344", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: level, reading, ts, unit\n Sensor: wind_speed | fields: ts, reading, lat, value\nTask: Retrieve lat from sunlight whose qc is found in wind_speed records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000345", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: level, qc, type, reading\n Sensor: dew_point | fields: value, depth, qc, reading\nTask: Fetch depth from pressure where reading is greater than the average of depth in dew_point for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"dew_point\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000346", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: reading, unit, level, qc\n Sensor: turbidity | fields: ts, lon, depth, unit\nTask: Get value from soil_moisture where a corresponding entry exists in turbidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000347", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: value, lon, reading, type\n Sensor: temperature | fields: lat, ts, reading, level\nTask: Retrieve level from sunlight with value above the MIN(value) of temperature readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000348", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: ts, qc, unit, type\n Sensor: pressure | fields: qc, level, depth, lat\nTask: Fetch value from frost that have at least one corresponding pressure measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000349", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: reading, depth, ts, level\n Sensor: air_quality | fields: ts, qc, depth, lon\nTask: Retrieve level from sunlight with depth above the MAX(reading) of air_quality readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000350", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lon, qc, value, unit\n Sensor: humidity | fields: unit, level, lat, lon\nTask: Retrieve lat from sunlight whose ts is found in humidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000351", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: lon, reading, value, level\n Sensor: dew_point | fields: ts, value, type, lon\nTask: Retrieve reading from visibility whose qc is found in dew_point records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000352", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: type, level, value, depth\n Sensor: temperature | fields: qc, depth, level, value\nTask: Fetch level from sunlight where value is greater than the average of depth in temperature for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"temperature\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000353", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: level, depth, qc, unit\n Sensor: drought_index | fields: depth, level, lat, lon\nTask: Retrieve lat from sunlight with reading above the SUM(reading) of drought_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000354", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lat, value, qc, lon\n Sensor: visibility | fields: type, qc, value, lon\nTask: Get level from drought_index where depth appears in visibility readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000355", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: reading, ts, type, unit\n Sensor: frost | fields: level, value, type, lat\nTask: Fetch lon from sunlight that have at least one corresponding frost measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000356", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: reading, lon, qc, value\n Sensor: evaporation | fields: lat, reading, lon, level\nTask: Retrieve lon from wind_speed that have at least one matching reading in evaporation sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lon", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000357", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: ts, lat, depth, qc\n Sensor: evaporation | fields: qc, ts, unit, level\nTask: Retrieve level from drought_index that have at least one matching reading in evaporation sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000358", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: depth, unit, reading, type\n Sensor: turbidity | fields: level, value, depth, lon\nTask: Retrieve reading from dew_point that have at least one matching reading in turbidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000359", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: value, type, depth, lon\n Sensor: drought_index | fields: value, type, unit, ts\nTask: Get depth from temperature where ts appears in drought_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000360", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: ts, qc, level, lat\n Sensor: soil_moisture | fields: unit, qc, lon, lat\nTask: Fetch reading from cloud_cover where type exists in soil_moisture sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000361", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: reading, value, qc, lat\n Sensor: dew_point | fields: level, ts, lat, value\nTask: Get reading from frost where a corresponding entry exists in dew_point with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "reading", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000362", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: level, lon, depth, value\n Sensor: uv_index | fields: depth, type, lon, reading\nTask: Retrieve value from cloud_cover with reading above the SUM(value) of uv_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"uv_index\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000363", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: type, ts, reading, unit\n Sensor: drought_index | fields: lat, value, type, reading\nTask: Get reading from pressure where depth exceeds the minimum value from drought_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"drought_index\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000364", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lat, lon, value, ts\n Sensor: visibility | fields: qc, level, unit, reading\nTask: Retrieve level from uv_index whose depth is found in visibility records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000365", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: ts, type, unit, qc\n Sensor: lightning | fields: level, qc, unit, depth\nTask: Fetch reading from air_quality that have at least one corresponding lightning measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000366", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: type, reading, lon, level\n Sensor: lightning | fields: lon, depth, qc, type\nTask: Get reading from drought_index where depth exceeds the average value from lightning for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"lightning\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000367", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: value, lon, type, depth\n Sensor: lightning | fields: value, lat, type, qc\nTask: Get value from drought_index where type appears in lightning readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000368", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: depth, level, lon, ts\n Sensor: drought_index | fields: ts, type, lon, depth\nTask: Fetch reading from cloud_cover where value is greater than the minimum of depth in drought_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"drought_index\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000369", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: level, depth, value, type\n Sensor: cloud_cover | fields: lon, reading, type, lat\nTask: Fetch level from evaporation where ts exists in cloud_cover sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000370", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: unit, lat, depth, lon\n Sensor: air_quality | fields: type, lon, lat, value\nTask: Fetch lat from wind_speed that have at least one corresponding air_quality measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lat", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000371", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: unit, depth, ts, lat\n Sensor: sunlight | fields: level, unit, reading, ts\nTask: Get lat from humidity where a corresponding entry exists in sunlight with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000372", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: qc, value, depth, lat\n Sensor: wind_speed | fields: level, unit, value, lat\nTask: Fetch level from soil_moisture where depth is greater than the average of reading in wind_speed for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"wind_speed\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000373", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lon, ts, reading, unit\n Sensor: air_quality | fields: ts, level, unit, lat\nTask: Get level from wind_speed where a corresponding entry exists in air_quality with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000374", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: depth, unit, type, qc\n Sensor: evaporation | fields: depth, lat, unit, lon\nTask: Retrieve lon from lightning that have at least one matching reading in evaporation sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000375", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: reading, type, ts, level\n Sensor: temperature | fields: ts, unit, type, lat\nTask: Fetch depth from rainfall that have at least one corresponding temperature measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000376", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lon, qc, depth, reading\n Sensor: wind_speed | fields: qc, level, depth, value\nTask: Retrieve lon from sunlight that have at least one matching reading in wind_speed sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000377", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: qc, value, level, unit\n Sensor: frost | fields: depth, ts, qc, lat\nTask: Retrieve level from drought_index whose depth is found in frost records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000378", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: depth, qc, lon, unit\n Sensor: visibility | fields: type, level, lat, ts\nTask: Retrieve reading from drought_index that have at least one matching reading in visibility sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000379", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: value, depth, ts, reading\n Sensor: cloud_cover | fields: level, depth, lat, ts\nTask: Retrieve lat from dew_point with depth above the MAX(depth) of cloud_cover readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000380", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: type, level, qc, reading\n Sensor: rainfall | fields: value, lon, depth, lat\nTask: Fetch value from wind_speed that have at least one corresponding rainfall measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000381", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: unit, lat, reading, depth\n Sensor: evaporation | fields: type, unit, value, depth\nTask: Retrieve value from temperature with depth above the SUM(depth) of evaporation readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000382", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: qc, lon, type, level\n Sensor: uv_index | fields: lat, level, value, lon\nTask: Get lon from soil_moisture where value exceeds the average value from uv_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"uv_index\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000383", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: level, reading, lon, ts\n Sensor: soil_moisture | fields: type, ts, unit, level\nTask: Get reading from drought_index where value exceeds the total value from soil_moisture for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000384", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: qc, reading, type, lat\n Sensor: pressure | fields: lat, ts, value, depth\nTask: Get value from visibility where a corresponding entry exists in pressure with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000385", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: type, lat, level, unit\n Sensor: lightning | fields: lat, type, depth, lon\nTask: Retrieve lon from wind_speed whose depth is found in lightning records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000386", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: depth, type, ts, reading\n Sensor: turbidity | fields: unit, level, qc, lon\nTask: Get lat from visibility where a corresponding entry exists in turbidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000387", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: level, lat, type, ts\n Sensor: snow_depth | fields: type, unit, ts, reading\nTask: Get level from soil_moisture where qc appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000388", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: lat, qc, lon, reading\n Sensor: visibility | fields: depth, unit, type, value\nTask: Retrieve lat from cloud_cover that have at least one matching reading in visibility sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lat", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000389", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: type, level, lon, depth\n Sensor: evaporation | fields: unit, ts, level, reading\nTask: Get value from rainfall where reading exceeds the count of depth from evaporation for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"evaporation\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000390", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: unit, value, ts, qc\n Sensor: rainfall | fields: reading, lat, level, lon\nTask: Retrieve lon from evaporation with depth above the MAX(depth) of rainfall readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"rainfall\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000391", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: ts, qc, lat, value\n Sensor: humidity | fields: lat, lon, type, value\nTask: Retrieve lat from evaporation with reading above the AVG(value) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"humidity\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000392", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lat, qc, reading, type\n Sensor: wind_speed | fields: lon, reading, unit, value\nTask: Retrieve lon from visibility whose unit is found in wind_speed records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000393", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lon, level, reading, unit\n Sensor: turbidity | fields: ts, level, lat, qc\nTask: Get depth from visibility where value exceeds the count of reading from turbidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000394", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: qc, value, lat, type\n Sensor: temperature | fields: level, depth, unit, ts\nTask: Fetch lon from snow_depth where type exists in temperature sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000395", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: value, ts, type, level\n Sensor: rainfall | fields: depth, unit, value, type\nTask: Retrieve level from snow_depth with depth above the MIN(reading) of rainfall readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"rainfall\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000396", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: reading, unit, type, level\n Sensor: evaporation | fields: level, lon, unit, qc\nTask: Fetch lon from visibility where depth is greater than the total of depth in evaporation for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000397", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: ts, lon, unit, reading\n Sensor: cloud_cover | fields: lat, level, reading, type\nTask: Retrieve reading from frost whose depth is found in cloud_cover records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000398", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: type, reading, level, depth\n Sensor: visibility | fields: depth, ts, lat, lon\nTask: Get reading from snow_depth where a corresponding entry exists in visibility with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000399", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: lat, qc, type, ts\n Sensor: snow_depth | fields: value, depth, reading, qc\nTask: Fetch value from turbidity where reading is greater than the count of of reading in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"snow_depth\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000400", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: qc, unit, value, lat\n Sensor: sunlight | fields: depth, unit, qc, type\nTask: Get level from soil_moisture where ts appears in sunlight readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000401", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: unit, level, reading, depth\n Sensor: soil_moisture | fields: depth, unit, ts, qc\nTask: Get value from sunlight where ts appears in soil_moisture readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000402", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: qc, unit, level, lon\n Sensor: snow_depth | fields: level, lon, unit, reading\nTask: Retrieve value from drought_index that have at least one matching reading in snow_depth sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "value", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000403", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: level, type, unit, lon\n Sensor: cloud_cover | fields: lon, reading, value, depth\nTask: Get reading from lightning where value exceeds the maximum value from cloud_cover for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"cloud_cover\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000404", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: lon, value, unit, depth\n Sensor: wind_speed | fields: lon, ts, reading, value\nTask: Get depth from snow_depth where a corresponding entry exists in wind_speed with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000405", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lon, level, qc, type\n Sensor: rainfall | fields: ts, unit, type, level\nTask: Get lon from sunlight where ts appears in rainfall readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000406", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: lon, reading, type, depth\n Sensor: lightning | fields: value, lon, reading, qc\nTask: Fetch lat from pressure that have at least one corresponding lightning measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000407", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: ts, unit, lon, value\n Sensor: sunlight | fields: level, lon, unit, qc\nTask: Fetch lon from turbidity where ts exists in sunlight sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000408", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: depth, lat, type, value\n Sensor: sunlight | fields: lon, type, unit, ts\nTask: Get lat from turbidity where depth exceeds the count of depth from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000409", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: lon, type, ts, lat\n Sensor: pressure | fields: ts, qc, unit, lat\nTask: Fetch reading from sunlight where type exists in pressure sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000410", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: unit, reading, type, ts\n Sensor: rainfall | fields: lat, lon, reading, depth\nTask: Retrieve depth from turbidity whose ts is found in rainfall records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000411", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: reading, unit, qc, level\n Sensor: air_quality | fields: lat, level, depth, ts\nTask: Get value from soil_moisture where unit appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000412", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lat, type, reading, unit\n Sensor: dew_point | fields: ts, level, depth, unit\nTask: Retrieve value from drought_index that have at least one matching reading in dew_point sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "value", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000413", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: depth, lat, qc, reading\n Sensor: sunlight | fields: reading, lat, level, value\nTask: Retrieve level from pressure whose depth is found in sunlight records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000414", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: depth, reading, lat, level\n Sensor: soil_moisture | fields: lon, reading, type, level\nTask: Get lon from snow_depth where depth exceeds the total value from soil_moisture for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000415", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: qc, value, depth, level\n Sensor: turbidity | fields: depth, type, reading, ts\nTask: Get lon from air_quality where value exceeds the average value from turbidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"turbidity\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000416", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: type, reading, unit, depth\n Sensor: snow_depth | fields: type, unit, value, depth\nTask: Fetch reading from frost where depth exists in snow_depth sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000417", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: depth, qc, unit, reading\n Sensor: temperature | fields: reading, type, ts, lon\nTask: Retrieve value from dew_point whose ts is found in temperature records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000418", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: ts, lon, unit, level\n Sensor: lightning | fields: level, value, reading, unit\nTask: Get level from sunlight where reading exceeds the average depth from lightning for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"lightning\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000419", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: type, unit, lat, qc\n Sensor: snow_depth | fields: unit, value, lat, qc\nTask: Fetch reading from uv_index where depth exists in snow_depth sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000420", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: ts, value, type, unit\n Sensor: pressure | fields: unit, value, lon, level\nTask: Get lat from cloud_cover where a corresponding entry exists in pressure with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000421", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: unit, lat, qc, level\n Sensor: frost | fields: depth, value, level, lon\nTask: Fetch level from evaporation where depth exists in frost sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000422", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: level, reading, ts, lon\n Sensor: cloud_cover | fields: lat, unit, qc, ts\nTask: Fetch value from rainfall that have at least one corresponding cloud_cover measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000423", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: value, unit, lon, reading\n Sensor: dew_point | fields: level, depth, qc, lat\nTask: Retrieve level from drought_index that have at least one matching reading in dew_point sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000424", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lat, unit, qc, lon\n Sensor: turbidity | fields: type, unit, lat, depth\nTask: Fetch lat from wind_speed where reading is greater than the maximum of depth in turbidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"turbidity\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000425", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: value, ts, lat, level\n Sensor: turbidity | fields: reading, type, depth, level\nTask: Retrieve lon from air_quality with depth above the COUNT(reading) of turbidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000426", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: level, ts, lon, lat\n Sensor: rainfall | fields: type, level, lon, reading\nTask: Fetch depth from temperature where depth exists in rainfall sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000427", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: level, unit, ts, lon\n Sensor: snow_depth | fields: lon, depth, qc, type\nTask: Retrieve reading from frost with depth above the COUNT(depth) of snow_depth readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"snow_depth\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000428", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: qc, lon, type, level\n Sensor: dew_point | fields: value, lon, lat, ts\nTask: Get level from sunlight where ts appears in dew_point readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000429", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lon, lat, depth, reading\n Sensor: temperature | fields: lat, value, ts, reading\nTask: Fetch value from uv_index where type exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000430", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: qc, lon, level, ts\n Sensor: uv_index | fields: value, depth, unit, lat\nTask: Retrieve lat from air_quality that have at least one matching reading in uv_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lat", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000431", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: unit, qc, reading, value\n Sensor: pressure | fields: qc, type, depth, lon\nTask: Get depth from snow_depth where type appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000432", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: ts, qc, value, level\n Sensor: lightning | fields: lon, level, ts, type\nTask: Retrieve depth from humidity that have at least one matching reading in lightning sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000433", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lon, qc, reading, level\n Sensor: soil_moisture | fields: reading, lon, value, qc\nTask: Fetch lat from temperature where ts exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000434", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lat, level, depth, qc\n Sensor: wind_speed | fields: unit, type, level, depth\nTask: Fetch lon from uv_index where ts exists in wind_speed sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000435", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: ts, reading, value, depth\n Sensor: turbidity | fields: qc, lat, reading, level\nTask: Retrieve lon from wind_speed that have at least one matching reading in turbidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000436", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: ts, depth, type, unit\n Sensor: drought_index | fields: value, qc, reading, level\nTask: Retrieve level from soil_moisture that have at least one matching reading in drought_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000437", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: level, unit, lat, qc\n Sensor: air_quality | fields: ts, lon, reading, value\nTask: Retrieve level from dew_point with depth above the COUNT(value) of air_quality readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000438", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: qc, ts, reading, depth\n Sensor: temperature | fields: value, level, depth, reading\nTask: Retrieve lat from drought_index that have at least one matching reading in temperature sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000439", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: type, ts, unit, level\n Sensor: pressure | fields: ts, lat, level, depth\nTask: Get lat from snow_depth where value exceeds the total reading from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000440", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: depth, lon, lat, unit\n Sensor: sunlight | fields: lat, level, type, unit\nTask: Get depth from humidity where unit appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000441", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: lon, level, reading, qc\n Sensor: turbidity | fields: unit, ts, depth, lon\nTask: Retrieve level from snow_depth with value above the AVG(reading) of turbidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"turbidity\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000442", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: reading, lon, value, depth\n Sensor: visibility | fields: unit, lon, depth, reading\nTask: Get lat from snow_depth where ts appears in visibility readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000443", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: reading, unit, qc, lon\n Sensor: soil_moisture | fields: level, lat, reading, depth\nTask: Get reading from temperature where depth appears in soil_moisture readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000444", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: value, reading, lon, unit\n Sensor: sunlight | fields: unit, lon, ts, value\nTask: Get reading from turbidity where depth exceeds the minimum value from sunlight for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"sunlight\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000445", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: level, type, qc, unit\n Sensor: soil_moisture | fields: qc, type, unit, ts\nTask: Retrieve depth from sunlight that have at least one matching reading in soil_moisture sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000446", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: value, type, depth, ts\n Sensor: drought_index | fields: lat, depth, reading, unit\nTask: Fetch depth from soil_moisture where reading is greater than the minimum of reading in drought_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000447", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: value, ts, type, depth\n Sensor: dew_point | fields: level, depth, unit, lon\nTask: Get value from pressure where a corresponding entry exists in dew_point with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000448", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: qc, depth, reading, level\n Sensor: snow_depth | fields: depth, value, qc, reading\nTask: Retrieve lon from cloud_cover with value above the COUNT(reading) of snow_depth readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"snow_depth\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000449", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: reading, lon, level, unit\n Sensor: frost | fields: type, ts, lat, level\nTask: Retrieve value from rainfall with depth above the COUNT(value) of frost readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"frost\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000450", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: unit, lon, depth, ts\n Sensor: frost | fields: ts, lat, lon, value\nTask: Fetch reading from lightning that have at least one corresponding frost measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000451", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: value, ts, depth, reading\n Sensor: rainfall | fields: depth, lon, lat, ts\nTask: Retrieve lat from drought_index with reading above the MIN(reading) of rainfall readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"rainfall\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000452", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: level, type, lon, value\n Sensor: lightning | fields: qc, value, unit, lon\nTask: Fetch reading from temperature that have at least one corresponding lightning measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "reading", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000453", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: level, lon, lat, type\n Sensor: evaporation | fields: ts, unit, qc, level\nTask: Retrieve value from wind_speed with reading above the MIN(value) of evaporation readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"evaporation\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000454", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: reading, lat, ts, lon\n Sensor: lightning | fields: reading, value, depth, level\nTask: Retrieve lat from soil_moisture with reading above the MIN(value) of lightning readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"lightning\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000455", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: reading, level, qc, value\n Sensor: lightning | fields: depth, reading, level, ts\nTask: Fetch value from cloud_cover that have at least one corresponding lightning measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000456", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: ts, depth, type, reading\n Sensor: sunlight | fields: qc, unit, level, type\nTask: Fetch depth from frost that have at least one corresponding sunlight measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000457", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: depth, lon, unit, qc\n Sensor: evaporation | fields: lon, ts, level, qc\nTask: Get reading from visibility where depth exceeds the count of value from evaporation for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"evaporation\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000458", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: level, depth, type, reading\n Sensor: pressure | fields: value, qc, reading, level\nTask: Get level from visibility where type appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000459", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: unit, reading, lat, ts\n Sensor: uv_index | fields: qc, value, type, ts\nTask: Get reading from lightning where type appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000460", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: depth, ts, value, qc\n Sensor: snow_depth | fields: lat, value, reading, unit\nTask: Fetch reading from dew_point where depth is greater than the total of value in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"snow_depth\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000461", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: unit, ts, depth, level\n Sensor: dew_point | fields: type, lon, ts, reading\nTask: Get lat from turbidity where qc appears in dew_point readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000462", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: lat, level, unit, qc\n Sensor: drought_index | fields: type, value, depth, reading\nTask: Get level from pressure where ts appears in drought_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000463", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: qc, level, reading, lon\n Sensor: temperature | fields: type, level, lat, qc\nTask: Get level from dew_point where value exceeds the count of value from temperature for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"temperature\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000464", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lat, qc, depth, lon\n Sensor: frost | fields: value, unit, level, lon\nTask: Retrieve level from rainfall that have at least one matching reading in frost sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000465", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lon, type, lat, ts\n Sensor: frost | fields: value, depth, qc, type\nTask: Get reading from humidity where type appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000466", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: ts, value, lon, depth\n Sensor: air_quality | fields: type, value, level, ts\nTask: Fetch depth from cloud_cover where qc exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000467", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: value, reading, level, qc\n Sensor: soil_moisture | fields: value, depth, type, ts\nTask: Get lat from frost where value exceeds the minimum reading from soil_moisture for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000468", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lat, reading, level, unit\n Sensor: cloud_cover | fields: unit, value, type, lon\nTask: Retrieve lon from wind_speed that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000469", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: level, lon, lat, value\n Sensor: frost | fields: value, unit, reading, type\nTask: Get level from air_quality where value exceeds the maximum value from frost for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000470", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: level, lon, type, value\n Sensor: uv_index | fields: value, reading, depth, lon\nTask: Get lat from rainfall where a corresponding entry exists in uv_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lat", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000471", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: ts, reading, level, lon\n Sensor: snow_depth | fields: lon, type, depth, unit\nTask: Fetch level from lightning that have at least one corresponding snow_depth measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "level", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000472", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: type, level, lon, value\n Sensor: dew_point | fields: qc, level, unit, lon\nTask: Get depth from rainfall where a corresponding entry exists in dew_point with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000473", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: qc, unit, lon, value\n Sensor: humidity | fields: lon, level, ts, lat\nTask: Get level from snow_depth where type appears in humidity readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000474", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lon, value, reading, ts\n Sensor: soil_moisture | fields: level, lat, lon, qc\nTask: Get level from lightning where type appears in soil_moisture readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000475", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: value, lat, type, unit\n Sensor: pressure | fields: depth, lat, type, level\nTask: Fetch reading from humidity that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000476", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: type, reading, level, depth\n Sensor: sunlight | fields: ts, reading, level, type\nTask: Fetch lon from wind_speed where reading is greater than the average of depth in sunlight for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000477", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: level, lat, ts, type\n Sensor: pressure | fields: level, reading, depth, type\nTask: Get reading from humidity where a corresponding entry exists in pressure with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000478", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: depth, unit, value, qc\n Sensor: temperature | fields: unit, lon, value, lat\nTask: Retrieve reading from dew_point whose unit is found in temperature records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000479", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: reading, unit, level, lat\n Sensor: lightning | fields: depth, unit, value, reading\nTask: Fetch lat from uv_index where depth exists in lightning sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000480", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: depth, level, reading, ts\n Sensor: pressure | fields: ts, value, lon, lat\nTask: Retrieve depth from dew_point that have at least one matching reading in pressure sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000481", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: qc, lon, depth, lat\n Sensor: snow_depth | fields: qc, ts, lon, reading\nTask: Get lat from drought_index where depth exceeds the count of depth from snow_depth for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"snow_depth\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000482", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: lon, reading, type, depth\n Sensor: visibility | fields: depth, lat, ts, unit\nTask: Retrieve lat from frost that have at least one matching reading in visibility sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lat", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000483", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: ts, reading, type, depth\n Sensor: turbidity | fields: lat, reading, lon, value\nTask: Get lat from soil_moisture where a corresponding entry exists in turbidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000484", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: ts, type, unit, lat\n Sensor: uv_index | fields: depth, lat, type, unit\nTask: Get value from temperature where a corresponding entry exists in uv_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "value", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000485", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lat, unit, lon, depth\n Sensor: wind_speed | fields: type, lon, lat, value\nTask: Get value from rainfall where type appears in wind_speed readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000486", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: reading, qc, lon, level\n Sensor: rainfall | fields: value, lon, depth, qc\nTask: Retrieve lat from dew_point that have at least one matching reading in rainfall sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lat", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000487", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: depth, level, unit, type\n Sensor: turbidity | fields: level, type, ts, reading\nTask: Retrieve level from air_quality that have at least one matching reading in turbidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000488", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: qc, lon, type, ts\n Sensor: soil_moisture | fields: lon, qc, value, level\nTask: Fetch lon from dew_point where reading is greater than the count of of value in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"soil_moisture\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000489", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: lon, unit, level, lat\n Sensor: air_quality | fields: reading, value, depth, level\nTask: Get value from rainfall where depth exceeds the average depth from air_quality for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000490", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: reading, ts, lon, type\n Sensor: lightning | fields: reading, type, lat, value\nTask: Retrieve depth from uv_index whose unit is found in lightning records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000491", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: unit, ts, depth, type\n Sensor: soil_moisture | fields: level, unit, reading, qc\nTask: Retrieve depth from humidity whose qc is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000492", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: reading, lat, depth, qc\n Sensor: cloud_cover | fields: qc, lon, level, reading\nTask: Retrieve level from frost that have at least one matching reading in cloud_cover sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000493", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: level, value, reading, ts\n Sensor: uv_index | fields: lon, qc, unit, ts\nTask: Get level from evaporation where value exceeds the total depth from uv_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"uv_index\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000494", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: depth, ts, type, level\n Sensor: snow_depth | fields: lat, level, ts, reading\nTask: Get lat from air_quality where a corresponding entry exists in snow_depth with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000495", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: reading, lat, type, qc\n Sensor: snow_depth | fields: reading, unit, type, value\nTask: Retrieve lon from humidity whose unit is found in snow_depth records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000496", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: ts, depth, type, qc\n Sensor: dew_point | fields: type, value, lat, level\nTask: Fetch lat from air_quality where type exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000497", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: depth, ts, value, lat\n Sensor: lightning | fields: lat, value, level, type\nTask: Get reading from sunlight where reading exceeds the minimum reading from lightning for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"lightning\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000498", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: type, reading, lon, value\n Sensor: frost | fields: unit, value, qc, depth\nTask: Get lon from evaporation where a corresponding entry exists in frost with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000499", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: ts, type, lon, depth\n Sensor: uv_index | fields: reading, depth, value, lat\nTask: Retrieve level from soil_moisture whose unit is found in uv_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000500", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: qc, depth, value, lon\n Sensor: humidity | fields: lon, depth, reading, type\nTask: Get value from visibility where ts appears in humidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000501", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: qc, value, reading, lat\n Sensor: dew_point | fields: reading, depth, level, value\nTask: Get value from turbidity where ts appears in dew_point readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000502", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: level, lat, unit, reading\n Sensor: visibility | fields: qc, reading, lat, value\nTask: Retrieve lat from snow_depth that have at least one matching reading in visibility sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000503", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: qc, level, reading, ts\n Sensor: evaporation | fields: depth, lat, level, lon\nTask: Fetch value from lightning that have at least one corresponding evaporation measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000504", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: value, level, unit, lat\n Sensor: air_quality | fields: qc, level, value, unit\nTask: Fetch lat from humidity where qc exists in air_quality sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000505", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: reading, lat, unit, value\n Sensor: rainfall | fields: type, unit, value, qc\nTask: Retrieve value from temperature with value above the MAX(value) of rainfall readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"rainfall\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000506", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: level, depth, unit, qc\n Sensor: humidity | fields: ts, type, lat, reading\nTask: Retrieve lat from turbidity whose ts is found in humidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000507", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: qc, value, depth, reading\n Sensor: snow_depth | fields: depth, qc, ts, lon\nTask: Fetch value from visibility that have at least one corresponding snow_depth measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000508", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: reading, level, lon, qc\n Sensor: evaporation | fields: reading, ts, depth, lon\nTask: Retrieve depth from temperature with reading above the MAX(value) of evaporation readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"evaporation\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000509", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: qc, reading, value, lon\n Sensor: wind_speed | fields: value, qc, lon, depth\nTask: Fetch lon from pressure where depth is greater than the minimum of depth in wind_speed for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"wind_speed\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000510", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: value, depth, lon, type\n Sensor: sunlight | fields: lon, level, depth, qc\nTask: Retrieve level from cloud_cover with value above the MAX(value) of sunlight readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"sunlight\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000511", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: ts, qc, depth, value\n Sensor: temperature | fields: qc, level, reading, value\nTask: Get lon from frost where reading exceeds the minimum reading from temperature for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"temperature\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000512", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: value, type, ts, qc\n Sensor: drought_index | fields: ts, level, lon, type\nTask: Retrieve depth from soil_moisture whose ts is found in drought_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000513", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: ts, qc, lon, type\n Sensor: temperature | fields: depth, value, lat, reading\nTask: Retrieve level from visibility with value above the SUM(reading) of temperature readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000514", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: value, ts, depth, reading\n Sensor: humidity | fields: level, ts, unit, type\nTask: Get depth from visibility where a corresponding entry exists in humidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000515", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: ts, lon, level, type\n Sensor: evaporation | fields: value, ts, type, lat\nTask: Retrieve lat from rainfall that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000516", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: lat, lon, value, unit\n Sensor: wind_speed | fields: qc, reading, value, type\nTask: Get value from frost where a corresponding entry exists in wind_speed with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000517", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: lon, level, ts, reading\n Sensor: cloud_cover | fields: unit, lon, reading, type\nTask: Retrieve depth from wind_speed with reading above the MAX(depth) of cloud_cover readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000518", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: unit, level, lon, qc\n Sensor: soil_moisture | fields: level, lat, type, reading\nTask: Get lat from evaporation where a corresponding entry exists in soil_moisture with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000519", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: unit, depth, level, lon\n Sensor: air_quality | fields: level, ts, unit, lat\nTask: Retrieve lat from evaporation with reading above the AVG(reading) of air_quality readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000520", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: depth, lon, lat, qc\n Sensor: soil_moisture | fields: type, reading, unit, lat\nTask: Retrieve depth from uv_index that have at least one matching reading in soil_moisture sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000521", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lon, value, lat, reading\n Sensor: cloud_cover | fields: depth, unit, lon, qc\nTask: Retrieve reading from temperature with value above the COUNT(depth) of cloud_cover readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000522", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: ts, value, unit, lon\n Sensor: humidity | fields: value, lon, type, ts\nTask: Fetch lat from evaporation where value is greater than the maximum of reading in humidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"humidity\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000523", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: value, ts, reading, level\n Sensor: pressure | fields: reading, unit, depth, ts\nTask: Get lat from uv_index where depth exceeds the count of reading from pressure for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"pressure\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000524", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: lat, level, depth, unit\n Sensor: wind_speed | fields: level, type, qc, depth\nTask: Get lon from rainfall where reading exceeds the maximum reading from wind_speed for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"wind_speed\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000525", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: reading, lat, level, value\n Sensor: dew_point | fields: reading, value, unit, lat\nTask: Get reading from snow_depth where type appears in dew_point readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000526", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: depth, type, value, lon\n Sensor: soil_moisture | fields: lat, qc, lon, unit\nTask: Get depth from sunlight where depth exceeds the count of depth from soil_moisture for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000527", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: ts, lon, value, unit\n Sensor: pressure | fields: depth, type, reading, lon\nTask: Fetch lat from temperature where depth is greater than the maximum of value in pressure for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000528", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lon, level, value, type\n Sensor: cloud_cover | fields: reading, ts, qc, lat\nTask: Fetch depth from temperature that have at least one corresponding cloud_cover measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000529", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: value, qc, lat, ts\n Sensor: soil_moisture | fields: qc, value, level, depth\nTask: Get level from evaporation where value exceeds the total value from soil_moisture for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000530", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lon, depth, unit, level\n Sensor: frost | fields: qc, depth, reading, type\nTask: Retrieve lon from visibility that have at least one matching reading in frost sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000531", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: value, qc, lat, lon\n Sensor: rainfall | fields: lon, unit, lat, qc\nTask: Get lat from temperature where a corresponding entry exists in rainfall with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lat", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000532", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: value, unit, reading, lon\n Sensor: frost | fields: depth, lon, ts, type\nTask: Fetch depth from air_quality where value is greater than the minimum of reading in frost for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"frost\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000533", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: ts, reading, lat, qc\n Sensor: cloud_cover | fields: qc, ts, lon, type\nTask: Retrieve reading from sunlight with reading above the SUM(depth) of cloud_cover readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000534", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: lon, unit, level, reading\n Sensor: evaporation | fields: depth, qc, reading, value\nTask: Fetch value from soil_moisture where qc exists in evaporation sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000535", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: reading, qc, depth, type\n Sensor: frost | fields: qc, reading, value, level\nTask: Get lon from rainfall where a corresponding entry exists in frost with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000536", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: lon, level, ts, lat\n Sensor: sunlight | fields: qc, value, reading, lat\nTask: Get lon from visibility where type appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000537", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: unit, lon, depth, qc\n Sensor: evaporation | fields: type, lon, qc, reading\nTask: Fetch level from rainfall where depth exists in evaporation sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000538", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: level, unit, lon, type\n Sensor: humidity | fields: ts, unit, depth, value\nTask: Retrieve level from pressure with reading above the MIN(value) of humidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"humidity\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000539", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: level, qc, lat, type\n Sensor: air_quality | fields: unit, level, ts, type\nTask: Get level from drought_index where depth appears in air_quality readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000540", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: depth, level, type, ts\n Sensor: rainfall | fields: unit, type, value, level\nTask: Retrieve lon from uv_index with depth above the AVG(value) of rainfall readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"rainfall\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000541", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: reading, type, unit, depth\n Sensor: sunlight | fields: ts, type, unit, lat\nTask: Get depth from air_quality where reading exceeds the maximum reading from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"sunlight\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000542", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: reading, ts, lat, qc\n Sensor: lightning | fields: value, depth, reading, unit\nTask: Get level from pressure where a corresponding entry exists in lightning with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "level", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000543", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: reading, lat, level, qc\n Sensor: humidity | fields: qc, lon, ts, type\nTask: Retrieve value from cloud_cover that have at least one matching reading in humidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000544", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: ts, type, level, lon\n Sensor: visibility | fields: type, unit, ts, lat\nTask: Get lon from sunlight where a corresponding entry exists in visibility with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000545", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: depth, type, level, ts\n Sensor: drought_index | fields: level, type, reading, ts\nTask: Fetch lat from rainfall that have at least one corresponding drought_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lat", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000546", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: reading, type, ts, lat\n Sensor: rainfall | fields: ts, qc, value, depth\nTask: Fetch depth from humidity where type exists in rainfall sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000547", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: lon, depth, unit, level\n Sensor: pressure | fields: lat, ts, level, lon\nTask: Retrieve level from air_quality with depth above the MIN(depth) of pressure readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"pressure\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000548", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: unit, ts, qc, lat\n Sensor: lightning | fields: depth, qc, lon, ts\nTask: Retrieve reading from evaporation with value above the SUM(reading) of lightning readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"lightning\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000549", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lat, qc, lon, level\n Sensor: air_quality | fields: unit, reading, lat, ts\nTask: Get value from uv_index where depth appears in air_quality readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000550", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lat, ts, depth, value\n Sensor: lightning | fields: lon, type, depth, lat\nTask: Retrieve level from wind_speed that have at least one matching reading in lightning sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000551", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: type, ts, depth, reading\n Sensor: air_quality | fields: depth, reading, value, type\nTask: Fetch level from cloud_cover that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000552", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: level, unit, value, depth\n Sensor: dew_point | fields: unit, ts, value, qc\nTask: Retrieve depth from air_quality with value above the SUM(value) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"dew_point\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000553", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: depth, lat, ts, level\n Sensor: dew_point | fields: value, lat, depth, ts\nTask: Get depth from temperature where type appears in dew_point readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000554", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: ts, reading, value, unit\n Sensor: soil_moisture | fields: depth, type, unit, value\nTask: Retrieve reading from air_quality whose ts is found in soil_moisture records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000555", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: type, unit, reading, lat\n Sensor: snow_depth | fields: value, depth, reading, level\nTask: Retrieve level from sunlight that have at least one matching reading in snow_depth sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "level", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000556", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: qc, unit, level, reading\n Sensor: cloud_cover | fields: level, qc, unit, ts\nTask: Retrieve level from sunlight whose ts is found in cloud_cover records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000557", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: value, reading, ts, type\n Sensor: pressure | fields: value, level, unit, lon\nTask: Get depth from air_quality where qc appears in pressure readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000558", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: lat, type, reading, ts\n Sensor: sunlight | fields: lon, qc, value, reading\nTask: Retrieve lon from frost with value above the COUNT(reading) of sunlight readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"sunlight\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000559", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lon, level, reading, type\n Sensor: uv_index | fields: lon, qc, unit, lat\nTask: Get lon from air_quality where a corresponding entry exists in uv_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lon", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000560", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: reading, lat, unit, qc\n Sensor: pressure | fields: lon, value, depth, type\nTask: Get level from turbidity where type appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000561", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: unit, lat, depth, level\n Sensor: snow_depth | fields: value, lon, ts, qc\nTask: Retrieve level from frost that have at least one matching reading in snow_depth sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000562", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: qc, lat, value, ts\n Sensor: visibility | fields: reading, lat, value, level\nTask: Retrieve lat from turbidity that have at least one matching reading in visibility sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000563", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: lon, ts, depth, lat\n Sensor: dew_point | fields: ts, type, level, qc\nTask: Retrieve lat from cloud_cover whose depth is found in dew_point records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000564", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lon, level, value, unit\n Sensor: wind_speed | fields: reading, qc, level, lat\nTask: Retrieve level from turbidity with value above the COUNT(depth) of wind_speed readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"wind_speed\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000565", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: level, lon, reading, lat\n Sensor: rainfall | fields: depth, unit, reading, value\nTask: Retrieve lon from cloud_cover whose type is found in rainfall records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000566", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: ts, qc, unit, reading\n Sensor: cloud_cover | fields: value, depth, lat, type\nTask: Retrieve reading from evaporation whose ts is found in cloud_cover records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000567", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: unit, ts, value, depth\n Sensor: snow_depth | fields: reading, ts, unit, level\nTask: Fetch level from pressure where depth is greater than the average of reading in snow_depth for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"snow_depth\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000568", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: lat, depth, value, qc\n Sensor: soil_moisture | fields: reading, qc, depth, level\nTask: Get lat from frost where a corresponding entry exists in soil_moisture with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lat", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000569", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: ts, unit, qc, lat\n Sensor: turbidity | fields: qc, type, level, lat\nTask: Get depth from snow_depth where ts appears in turbidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000570", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: lon, unit, lat, level\n Sensor: frost | fields: unit, value, depth, type\nTask: Retrieve lon from turbidity that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000571", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: reading, ts, qc, unit\n Sensor: rainfall | fields: lat, type, level, unit\nTask: Get lat from evaporation where a corresponding entry exists in rainfall with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lat", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000572", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: value, level, qc, type\n Sensor: frost | fields: lat, qc, unit, value\nTask: Fetch reading from turbidity that have at least one corresponding frost measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000573", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: ts, value, type, level\n Sensor: soil_moisture | fields: depth, level, reading, lon\nTask: Get lon from cloud_cover where type appears in soil_moisture readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000574", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: lat, type, ts, reading\n Sensor: sunlight | fields: ts, level, depth, unit\nTask: Get value from rainfall where reading exceeds the maximum depth from sunlight for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"sunlight\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000575", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: ts, depth, qc, value\n Sensor: pressure | fields: unit, level, ts, reading\nTask: Retrieve level from air_quality with reading above the AVG(value) of pressure readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000576", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: type, lat, reading, ts\n Sensor: humidity | fields: depth, unit, level, reading\nTask: Get reading from soil_moisture where qc appears in humidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000577", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lon, lat, unit, qc\n Sensor: snow_depth | fields: value, unit, lat, level\nTask: Fetch reading from lightning that have at least one corresponding snow_depth measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000578", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: depth, level, qc, type\n Sensor: cloud_cover | fields: unit, type, lat, lon\nTask: Fetch level from visibility that have at least one corresponding cloud_cover measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000579", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: qc, depth, value, type\n Sensor: dew_point | fields: ts, value, unit, reading\nTask: Retrieve reading from pressure whose unit is found in dew_point records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000580", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: lat, lon, value, qc\n Sensor: evaporation | fields: lon, qc, ts, value\nTask: Retrieve lon from wind_speed that have at least one matching reading in evaporation sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lon", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000581", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: unit, lon, reading, depth\n Sensor: wind_speed | fields: level, ts, depth, unit\nTask: Fetch value from evaporation that have at least one corresponding wind_speed measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000582", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: unit, depth, type, value\n Sensor: pressure | fields: reading, value, depth, unit\nTask: Get reading from frost where qc appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000583", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: level, lon, ts, value\n Sensor: dew_point | fields: type, lat, depth, value\nTask: Retrieve reading from drought_index that have at least one matching reading in dew_point sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000584", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: ts, type, lon, depth\n Sensor: soil_moisture | fields: reading, value, lon, qc\nTask: Fetch value from wind_speed that have at least one corresponding soil_moisture measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000585", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: level, ts, unit, lon\n Sensor: drought_index | fields: level, qc, lat, reading\nTask: Fetch depth from soil_moisture where type exists in drought_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000586", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lat, reading, lon, ts\n Sensor: temperature | fields: level, value, type, reading\nTask: Retrieve lat from sunlight with depth above the COUNT(depth) of temperature readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"temperature\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000587", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: unit, ts, lon, reading\n Sensor: visibility | fields: lat, depth, value, level\nTask: Fetch value from sunlight that have at least one corresponding visibility measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "value", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000588", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: qc, value, ts, depth\n Sensor: air_quality | fields: type, lon, lat, unit\nTask: Fetch lat from dew_point that have at least one corresponding air_quality measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lat", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000589", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: level, lon, type, reading\n Sensor: temperature | fields: ts, value, type, unit\nTask: Retrieve depth from sunlight whose ts is found in temperature records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000590", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: type, ts, value, unit\n Sensor: snow_depth | fields: qc, depth, lon, level\nTask: Fetch level from dew_point that have at least one corresponding snow_depth measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000591", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: lon, ts, value, depth\n Sensor: sunlight | fields: value, unit, ts, qc\nTask: Get reading from soil_moisture where ts appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000592", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lat, unit, level, depth\n Sensor: cloud_cover | fields: qc, unit, ts, lon\nTask: Retrieve reading from drought_index whose ts is found in cloud_cover records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000593", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: lat, ts, type, level\n Sensor: evaporation | fields: lon, ts, type, value\nTask: Retrieve reading from humidity with reading above the MIN(reading) of evaporation readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"evaporation\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000594", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: depth, level, value, unit\n Sensor: frost | fields: type, lon, depth, ts\nTask: Fetch lat from pressure where depth is greater than the total of reading in frost for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"frost\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000595", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: reading, depth, unit, type\n Sensor: humidity | fields: ts, type, level, unit\nTask: Get level from evaporation where unit appears in humidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000596", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: lon, value, depth, level\n Sensor: humidity | fields: ts, lon, level, qc\nTask: Fetch value from rainfall where depth is greater than the minimum of value in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"humidity\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000597", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: reading, level, unit, lat\n Sensor: snow_depth | fields: unit, level, lon, type\nTask: Fetch level from humidity where depth is greater than the maximum of value in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"snow_depth\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000598", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: reading, depth, level, ts\n Sensor: frost | fields: value, unit, ts, depth\nTask: Fetch depth from turbidity that have at least one corresponding frost measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000599", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: level, qc, value, type\n Sensor: wind_speed | fields: depth, value, unit, lat\nTask: Retrieve lon from humidity that have at least one matching reading in wind_speed sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000600", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: ts, level, depth, unit\n Sensor: lightning | fields: ts, type, unit, reading\nTask: Retrieve level from drought_index that have at least one matching reading in lightning sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "level", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000601", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: reading, type, level, lat\n Sensor: snow_depth | fields: value, ts, type, qc\nTask: Retrieve level from rainfall that have at least one matching reading in snow_depth sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000602", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: reading, value, lon, unit\n Sensor: pressure | fields: reading, unit, value, depth\nTask: Get lat from soil_moisture where a corresponding entry exists in pressure with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000603", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lon, value, ts, lat\n Sensor: humidity | fields: qc, depth, reading, type\nTask: Fetch level from sunlight where ts exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000604", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: value, lon, level, type\n Sensor: wind_speed | fields: lon, ts, unit, type\nTask: Retrieve level from soil_moisture with depth above the MIN(depth) of wind_speed readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"wind_speed\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000605", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: level, ts, reading, unit\n Sensor: soil_moisture | fields: ts, lat, lon, unit\nTask: Retrieve value from cloud_cover with value above the MAX(value) of soil_moisture readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"soil_moisture\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000606", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: lat, unit, lon, level\n Sensor: drought_index | fields: qc, unit, lat, reading\nTask: Get level from visibility where a corresponding entry exists in drought_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000607", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: unit, depth, reading, type\n Sensor: lightning | fields: depth, qc, ts, level\nTask: Get lon from dew_point where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000608", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: qc, reading, unit, value\n Sensor: temperature | fields: depth, type, value, level\nTask: Retrieve depth from drought_index with reading above the AVG(depth) of temperature readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"temperature\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000609", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: unit, depth, lon, qc\n Sensor: frost | fields: unit, level, type, value\nTask: Fetch reading from soil_moisture where reading is greater than the maximum of depth in frost for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000610", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: unit, value, lon, level\n Sensor: drought_index | fields: lat, unit, type, value\nTask: Fetch level from rainfall that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000611", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: ts, value, lat, reading\n Sensor: cloud_cover | fields: qc, level, ts, unit\nTask: Fetch level from sunlight where value is greater than the maximum of depth in cloud_cover for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000612", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: depth, type, lat, qc\n Sensor: temperature | fields: lon, depth, type, level\nTask: Retrieve depth from humidity that have at least one matching reading in temperature sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000613", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: type, lon, lat, reading\n Sensor: pressure | fields: depth, value, lat, unit\nTask: Fetch depth from rainfall where depth exists in pressure sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000614", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lon, depth, value, qc\n Sensor: uv_index | fields: value, lon, ts, lat\nTask: Get depth from drought_index where a corresponding entry exists in uv_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000615", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: value, ts, lat, qc\n Sensor: lightning | fields: value, reading, ts, depth\nTask: Fetch level from visibility where depth exists in lightning sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000616", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: value, lat, qc, reading\n Sensor: frost | fields: value, lon, level, type\nTask: Retrieve lon from sunlight with value above the MIN(reading) of frost readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000617", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: depth, unit, qc, reading\n Sensor: wind_speed | fields: reading, type, value, ts\nTask: Retrieve lat from temperature with value above the MAX(depth) of wind_speed readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"wind_speed\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000618", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: unit, type, depth, value\n Sensor: lightning | fields: type, lat, reading, level\nTask: Fetch depth from humidity where ts exists in lightning sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000619", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lat, depth, level, type\n Sensor: turbidity | fields: type, lat, ts, reading\nTask: Fetch lon from cloud_cover where value is greater than the total of reading in turbidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"turbidity\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000620", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: type, value, depth, ts\n Sensor: visibility | fields: level, ts, lon, value\nTask: Fetch lon from lightning where ts exists in visibility sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000621", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lon, value, lat, reading\n Sensor: sunlight | fields: lon, qc, value, type\nTask: Retrieve lat from uv_index whose ts is found in sunlight records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000622", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: unit, lat, qc, depth\n Sensor: soil_moisture | fields: lon, level, depth, reading\nTask: Fetch level from cloud_cover that have at least one corresponding soil_moisture measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000623", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: type, unit, value, reading\n Sensor: frost | fields: reading, qc, level, unit\nTask: Fetch reading from turbidity where unit exists in frost sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000624", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lat, depth, lon, type\n Sensor: dew_point | fields: lat, type, qc, unit\nTask: Retrieve depth from drought_index that have at least one matching reading in dew_point sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000625", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: reading, depth, value, unit\n Sensor: frost | fields: type, depth, qc, unit\nTask: Fetch value from sunlight where reading is greater than the total of reading in frost for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"frost\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000626", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: reading, value, ts, unit\n Sensor: turbidity | fields: ts, reading, lat, lon\nTask: Retrieve lon from visibility whose unit is found in turbidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000627", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: ts, reading, value, unit\n Sensor: drought_index | fields: level, unit, depth, ts\nTask: Fetch reading from air_quality where ts exists in drought_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000628", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: level, lat, reading, lon\n Sensor: frost | fields: lat, type, level, qc\nTask: Get level from dew_point where ts appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000629", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: level, unit, type, lat\n Sensor: sunlight | fields: lon, lat, unit, type\nTask: Retrieve depth from soil_moisture with depth above the MAX(value) of sunlight readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"sunlight\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000630", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: level, reading, type, depth\n Sensor: wind_speed | fields: reading, type, ts, level\nTask: Fetch level from humidity where type exists in wind_speed sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000631", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: depth, level, reading, value\n Sensor: soil_moisture | fields: depth, reading, lon, lat\nTask: Retrieve lat from cloud_cover whose unit is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000632", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: reading, lon, ts, type\n Sensor: soil_moisture | fields: reading, depth, ts, value\nTask: Get level from pressure where a corresponding entry exists in soil_moisture with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "level", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000633", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: lon, ts, unit, depth\n Sensor: snow_depth | fields: reading, lon, value, ts\nTask: Get lon from frost where a corresponding entry exists in snow_depth with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lon", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000634", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lon, depth, qc, type\n Sensor: visibility | fields: unit, reading, lon, level\nTask: Get lon from dew_point where ts appears in visibility readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000635", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: level, type, ts, value\n Sensor: air_quality | fields: ts, type, lon, reading\nTask: Get depth from visibility where ts appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000636", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: type, level, value, lon\n Sensor: visibility | fields: reading, type, ts, qc\nTask: Get lat from air_quality where a corresponding entry exists in visibility with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lat", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000637", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lat, type, ts, lon\n Sensor: evaporation | fields: qc, lat, type, value\nTask: Get lat from lightning where a corresponding entry exists in evaporation with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000638", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: qc, unit, reading, depth\n Sensor: snow_depth | fields: unit, ts, type, lon\nTask: Retrieve level from dew_point whose qc is found in snow_depth records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000639", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: value, unit, qc, lat\n Sensor: frost | fields: qc, level, ts, type\nTask: Fetch value from cloud_cover where ts exists in frost sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000640", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: value, ts, lon, qc\n Sensor: evaporation | fields: depth, lon, unit, level\nTask: Get reading from cloud_cover where a corresponding entry exists in evaporation with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000641", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: depth, lon, value, type\n Sensor: evaporation | fields: lat, reading, value, level\nTask: Retrieve depth from humidity that have at least one matching reading in evaporation sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000642", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: type, reading, qc, level\n Sensor: air_quality | fields: unit, lon, reading, value\nTask: Get reading from sunlight where reading exceeds the minimum value from air_quality for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"air_quality\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000643", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: lat, reading, qc, lon\n Sensor: cloud_cover | fields: reading, lon, value, depth\nTask: Retrieve level from evaporation whose ts is found in cloud_cover records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000644", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: ts, qc, depth, unit\n Sensor: lightning | fields: depth, unit, ts, reading\nTask: Fetch value from turbidity where depth is greater than the minimum of depth in lightning for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"lightning\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000645", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: ts, lon, qc, reading\n Sensor: temperature | fields: lat, depth, unit, value\nTask: Fetch lat from rainfall where depth is greater than the maximum of reading in temperature for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"temperature\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000646", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: unit, type, qc, reading\n Sensor: turbidity | fields: unit, depth, lon, ts\nTask: Retrieve level from rainfall with value above the MAX(value) of turbidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"turbidity\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000647", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lat, unit, depth, value\n Sensor: lightning | fields: type, lat, qc, lon\nTask: Fetch value from humidity where value is greater than the average of depth in lightning for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"lightning\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000648", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: lon, depth, unit, value\n Sensor: evaporation | fields: lon, value, level, depth\nTask: Fetch lat from frost where depth is greater than the count of of depth in evaporation for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"evaporation\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000649", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: lat, value, qc, ts\n Sensor: pressure | fields: reading, unit, ts, level\nTask: Retrieve value from cloud_cover with depth above the COUNT(reading) of pressure readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"pressure\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000650", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: value, unit, reading, qc\n Sensor: temperature | fields: type, ts, qc, lon\nTask: Retrieve lon from lightning whose type is found in temperature records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000651", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: depth, lon, level, lat\n Sensor: humidity | fields: level, qc, unit, depth\nTask: Fetch lat from drought_index that have at least one corresponding humidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000652", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lon, type, value, qc\n Sensor: cloud_cover | fields: ts, value, level, depth\nTask: Get reading from visibility where qc appears in cloud_cover readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000653", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: reading, level, lat, value\n Sensor: turbidity | fields: depth, value, unit, ts\nTask: Fetch reading from soil_moisture where ts exists in turbidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000654", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lat, ts, unit, type\n Sensor: rainfall | fields: unit, qc, ts, level\nTask: Retrieve value from evaporation that have at least one matching reading in rainfall sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "value", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000655", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: type, level, ts, reading\n Sensor: lightning | fields: lat, type, lon, ts\nTask: Get value from rainfall where a corresponding entry exists in lightning with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "value", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000656", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: level, qc, ts, lon\n Sensor: lightning | fields: ts, lon, type, reading\nTask: Get depth from evaporation where ts appears in lightning readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000657", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: qc, type, level, value\n Sensor: cloud_cover | fields: reading, ts, lon, unit\nTask: Fetch level from snow_depth that have at least one corresponding cloud_cover measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "level", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000658", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: reading, lon, value, unit\n Sensor: visibility | fields: unit, lon, level, qc\nTask: Get lat from dew_point where reading exceeds the maximum reading from visibility for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"visibility\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000659", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: type, depth, reading, unit\n Sensor: wind_speed | fields: qc, level, ts, lat\nTask: Fetch value from lightning where depth is greater than the total of reading in wind_speed for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000660", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: lon, ts, value, reading\n Sensor: snow_depth | fields: unit, lat, qc, level\nTask: Get value from soil_moisture where depth appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000661", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: unit, type, qc, level\n Sensor: sunlight | fields: unit, level, depth, ts\nTask: Retrieve lon from temperature whose qc is found in sunlight records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000662", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: lat, reading, value, depth\n Sensor: drought_index | fields: ts, unit, lat, reading\nTask: Retrieve value from rainfall that have at least one matching reading in drought_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000663", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: unit, level, qc, depth\n Sensor: temperature | fields: type, qc, reading, depth\nTask: Fetch lon from soil_moisture where depth is greater than the maximum of value in temperature for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"temperature\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000664", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: value, qc, lon, type\n Sensor: pressure | fields: qc, ts, unit, value\nTask: Retrieve level from frost whose qc is found in pressure records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000665", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: level, depth, value, unit\n Sensor: temperature | fields: ts, type, depth, lat\nTask: Fetch level from uv_index that have at least one corresponding temperature measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "level", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000666", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: reading, lon, ts, type\n Sensor: wind_speed | fields: reading, qc, ts, unit\nTask: Retrieve lon from soil_moisture with reading above the MAX(reading) of wind_speed readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"wind_speed\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000667", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: level, lat, reading, qc\n Sensor: lightning | fields: lat, depth, ts, reading\nTask: Get value from pressure where reading exceeds the maximum reading from lightning for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"lightning\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000668", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lon, level, unit, value\n Sensor: temperature | fields: unit, level, depth, qc\nTask: Retrieve value from sunlight that have at least one matching reading in temperature sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000669", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: lon, reading, type, depth\n Sensor: turbidity | fields: unit, type, level, lon\nTask: Retrieve value from uv_index that have at least one matching reading in turbidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "value", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000670", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: type, unit, level, value\n Sensor: drought_index | fields: lon, unit, type, level\nTask: Fetch reading from frost where unit exists in drought_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000671", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: type, value, ts, reading\n Sensor: lightning | fields: qc, lat, depth, value\nTask: Get level from drought_index where unit appears in lightning readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000672", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: depth, type, reading, level\n Sensor: air_quality | fields: depth, unit, qc, ts\nTask: Fetch lon from soil_moisture that have at least one corresponding air_quality measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lon", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000673", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: type, lat, qc, unit\n Sensor: drought_index | fields: lat, lon, type, qc\nTask: Get lat from visibility where a corresponding entry exists in drought_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000674", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lon, ts, unit, reading\n Sensor: turbidity | fields: type, lat, unit, qc\nTask: Fetch lon from air_quality where reading is greater than the count of of reading in turbidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000675", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: reading, depth, qc, lon\n Sensor: pressure | fields: qc, value, level, lat\nTask: Fetch value from air_quality where ts exists in pressure sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000676", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: qc, ts, depth, value\n Sensor: evaporation | fields: unit, type, value, reading\nTask: Retrieve lon from pressure whose ts is found in evaporation records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000677", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lat, type, depth, lon\n Sensor: humidity | fields: depth, type, lat, lon\nTask: Fetch reading from soil_moisture that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000678", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lat, ts, qc, level\n Sensor: uv_index | fields: lat, depth, unit, value\nTask: Get value from sunlight where a corresponding entry exists in uv_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000679", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lon, type, unit, depth\n Sensor: uv_index | fields: depth, value, ts, lon\nTask: Retrieve value from dew_point whose qc is found in uv_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000680", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: value, lat, lon, unit\n Sensor: cloud_cover | fields: depth, reading, qc, level\nTask: Get reading from pressure where a corresponding entry exists in cloud_cover with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000681", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: depth, lon, lat, unit\n Sensor: sunlight | fields: reading, value, level, lon\nTask: Get value from cloud_cover where qc appears in sunlight readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000682", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: level, lat, value, depth\n Sensor: pressure | fields: lat, level, value, type\nTask: Retrieve depth from soil_moisture whose depth is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000683", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: reading, unit, value, ts\n Sensor: air_quality | fields: reading, value, ts, lat\nTask: Fetch depth from pressure that have at least one corresponding air_quality measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000684", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: value, lat, ts, unit\n Sensor: lightning | fields: reading, qc, type, level\nTask: Get depth from rainfall where a corresponding entry exists in lightning with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000685", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: qc, lat, type, value\n Sensor: pressure | fields: lat, depth, ts, lon\nTask: Fetch lat from soil_moisture where qc exists in pressure sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000686", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: type, level, unit, lon\n Sensor: dew_point | fields: lon, depth, level, unit\nTask: Get level from humidity where depth exceeds the maximum value from dew_point for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000687", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: ts, lon, qc, depth\n Sensor: wind_speed | fields: value, lon, level, depth\nTask: Get lat from soil_moisture where qc appears in wind_speed readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000688", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: lat, qc, reading, ts\n Sensor: dew_point | fields: level, unit, depth, type\nTask: Retrieve level from visibility that have at least one matching reading in dew_point sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "level", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000689", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: depth, level, ts, qc\n Sensor: soil_moisture | fields: unit, level, type, lat\nTask: Get depth from evaporation where a corresponding entry exists in soil_moisture with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000690", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: level, depth, lon, unit\n Sensor: soil_moisture | fields: depth, qc, lat, value\nTask: Retrieve depth from dew_point whose ts is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000691", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lon, value, depth, qc\n Sensor: wind_speed | fields: qc, unit, lon, depth\nTask: Fetch reading from snow_depth where value is greater than the total of reading in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000692", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: unit, depth, level, lon\n Sensor: turbidity | fields: unit, depth, type, lon\nTask: Get lon from soil_moisture where qc appears in turbidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000693", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: type, depth, reading, level\n Sensor: drought_index | fields: qc, depth, unit, lon\nTask: Retrieve reading from cloud_cover that have at least one matching reading in drought_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000694", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: qc, type, lon, level\n Sensor: turbidity | fields: type, value, depth, level\nTask: Fetch lon from soil_moisture that have at least one corresponding turbidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000695", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: unit, lon, reading, value\n Sensor: temperature | fields: unit, ts, level, lat\nTask: Retrieve lon from dew_point that have at least one matching reading in temperature sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000696", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: type, lat, value, qc\n Sensor: lightning | fields: type, level, depth, reading\nTask: Get value from air_quality where reading exceeds the total value from lightning for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000697", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: reading, value, ts, lat\n Sensor: turbidity | fields: depth, lon, ts, level\nTask: Retrieve value from lightning that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "value", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000698", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: depth, lon, ts, lat\n Sensor: visibility | fields: ts, unit, depth, level\nTask: Fetch lon from dew_point where depth is greater than the maximum of depth in visibility for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000699", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: qc, depth, unit, ts\n Sensor: humidity | fields: type, ts, depth, lon\nTask: Get lon from turbidity where reading exceeds the count of reading from humidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"humidity\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000700", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: type, lon, lat, reading\n Sensor: visibility | fields: ts, unit, reading, qc\nTask: Retrieve depth from soil_moisture with depth above the SUM(value) of visibility readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"visibility\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000701", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: type, reading, value, unit\n Sensor: evaporation | fields: value, type, unit, level\nTask: Get level from wind_speed where a corresponding entry exists in evaporation with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000702", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: depth, lon, qc, ts\n Sensor: snow_depth | fields: depth, unit, type, lat\nTask: Get reading from drought_index where unit appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000703", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lat, ts, reading, qc\n Sensor: cloud_cover | fields: qc, type, ts, lon\nTask: Fetch depth from rainfall where ts exists in cloud_cover sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000704", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: unit, reading, qc, value\n Sensor: frost | fields: ts, reading, qc, depth\nTask: Retrieve value from soil_moisture whose depth is found in frost records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000705", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: type, ts, unit, qc\n Sensor: frost | fields: unit, depth, value, lat\nTask: Retrieve depth from rainfall whose qc is found in frost records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000706", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: unit, lon, level, lat\n Sensor: frost | fields: reading, qc, lon, level\nTask: Retrieve depth from lightning with depth above the COUNT(reading) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"frost\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000707", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: ts, depth, lat, reading\n Sensor: air_quality | fields: unit, ts, value, lat\nTask: Get lat from rainfall where ts appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000708", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: unit, value, level, type\n Sensor: rainfall | fields: depth, value, type, lon\nTask: Get depth from drought_index where a corresponding entry exists in rainfall with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000709", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: level, lat, depth, reading\n Sensor: pressure | fields: level, qc, ts, lon\nTask: Fetch level from rainfall that have at least one corresponding pressure measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000710", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: ts, depth, lat, unit\n Sensor: snow_depth | fields: lat, level, type, value\nTask: Fetch lat from sunlight that have at least one corresponding snow_depth measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000711", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: reading, ts, unit, depth\n Sensor: snow_depth | fields: ts, reading, type, qc\nTask: Fetch level from sunlight where ts exists in snow_depth sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000712", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: value, lat, reading, level\n Sensor: air_quality | fields: unit, type, value, lon\nTask: Retrieve reading from rainfall with reading above the SUM(reading) of air_quality readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"air_quality\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000713", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: level, depth, qc, type\n Sensor: visibility | fields: lat, value, lon, reading\nTask: Fetch level from air_quality that have at least one corresponding visibility measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000714", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: ts, qc, reading, value\n Sensor: dew_point | fields: level, ts, depth, value\nTask: Get reading from cloud_cover where value exceeds the average reading from dew_point for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"dew_point\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000715", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: reading, type, unit, qc\n Sensor: sunlight | fields: type, qc, reading, level\nTask: Fetch lon from wind_speed where reading is greater than the average of depth in sunlight for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000716", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: level, ts, reading, unit\n Sensor: turbidity | fields: lon, value, unit, reading\nTask: Get level from lightning where a corresponding entry exists in turbidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000717", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: unit, qc, ts, level\n Sensor: uv_index | fields: type, value, unit, level\nTask: Get reading from frost where a corresponding entry exists in uv_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000718", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: qc, value, ts, lat\n Sensor: lightning | fields: reading, value, lon, unit\nTask: Fetch depth from sunlight where depth exists in lightning sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000719", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: lon, unit, depth, level\n Sensor: lightning | fields: lon, ts, lat, unit\nTask: Get reading from soil_moisture where a corresponding entry exists in lightning with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000720", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: type, lat, depth, unit\n Sensor: wind_speed | fields: level, unit, depth, lon\nTask: Get level from evaporation where qc appears in wind_speed readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000721", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: unit, lon, value, qc\n Sensor: uv_index | fields: value, level, reading, ts\nTask: Retrieve reading from dew_point with depth above the SUM(reading) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"uv_index\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000722", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lat, unit, type, lon\n Sensor: pressure | fields: level, depth, ts, reading\nTask: Retrieve value from humidity with value above the AVG(value) of pressure readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000723", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: value, level, unit, qc\n Sensor: temperature | fields: lon, ts, value, reading\nTask: Get value from lightning where a corresponding entry exists in temperature with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "value", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000724", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: reading, value, depth, ts\n Sensor: dew_point | fields: lat, ts, type, value\nTask: Retrieve level from lightning with reading above the SUM(reading) of dew_point readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"dew_point\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000725", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: depth, qc, lon, lat\n Sensor: snow_depth | fields: type, value, reading, lat\nTask: Get lat from lightning where depth appears in snow_depth readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000726", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: lat, qc, type, value\n Sensor: pressure | fields: type, ts, qc, reading\nTask: Get lat from frost where value exceeds the maximum value from pressure for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"pressure\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000727", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: unit, qc, lon, value\n Sensor: evaporation | fields: value, unit, depth, lat\nTask: Retrieve level from dew_point with depth above the AVG(reading) of evaporation readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000728", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: type, level, unit, qc\n Sensor: dew_point | fields: ts, type, depth, reading\nTask: Get value from sunlight where depth appears in dew_point readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000729", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: ts, lon, depth, value\n Sensor: pressure | fields: unit, value, qc, reading\nTask: Retrieve lon from rainfall whose type is found in pressure records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000730", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: reading, ts, type, lon\n Sensor: evaporation | fields: unit, level, depth, value\nTask: Get depth from soil_moisture where a corresponding entry exists in evaporation with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000731", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: unit, depth, ts, lon\n Sensor: sunlight | fields: unit, depth, reading, type\nTask: Fetch level from rainfall that have at least one corresponding sunlight measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "level", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000732", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: reading, unit, lat, depth\n Sensor: temperature | fields: lat, ts, value, reading\nTask: Fetch value from frost that have at least one corresponding temperature measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "value", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000733", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: depth, lat, type, ts\n Sensor: sunlight | fields: type, reading, lat, qc\nTask: Fetch level from dew_point where type exists in sunlight sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000734", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: depth, lat, qc, type\n Sensor: sunlight | fields: value, unit, lon, depth\nTask: Fetch value from pressure that have at least one corresponding sunlight measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000735", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: value, level, lat, depth\n Sensor: wind_speed | fields: value, lon, depth, type\nTask: Fetch lat from drought_index where depth is greater than the total of reading in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000736", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: unit, qc, reading, depth\n Sensor: visibility | fields: qc, reading, level, lon\nTask: Get depth from cloud_cover where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000737", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lon, type, lat, unit\n Sensor: frost | fields: value, depth, level, ts\nTask: Fetch value from pressure where qc exists in frost sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000738", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lon, level, depth, lat\n Sensor: temperature | fields: unit, depth, type, lat\nTask: Get reading from lightning where depth exceeds the maximum value from temperature for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"temperature\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000739", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: qc, level, ts, lon\n Sensor: air_quality | fields: depth, qc, lat, lon\nTask: Retrieve reading from temperature that have at least one matching reading in air_quality sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000740", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: type, value, lat, depth\n Sensor: air_quality | fields: qc, level, unit, reading\nTask: Get value from visibility where value exceeds the minimum depth from air_quality for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000741", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: unit, depth, qc, lat\n Sensor: pressure | fields: qc, value, type, reading\nTask: Fetch lon from lightning where reading is greater than the count of of reading in pressure for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"pressure\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000742", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: type, qc, depth, value\n Sensor: visibility | fields: level, reading, lat, qc\nTask: Get value from cloud_cover where depth appears in visibility readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000743", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lon, ts, lat, type\n Sensor: pressure | fields: lat, reading, level, qc\nTask: Retrieve value from turbidity whose ts is found in pressure records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000744", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: value, type, ts, qc\n Sensor: snow_depth | fields: ts, lat, level, type\nTask: Retrieve value from pressure with value above the SUM(value) of snow_depth readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"snow_depth\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000745", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: type, qc, value, unit\n Sensor: cloud_cover | fields: lon, depth, level, lat\nTask: Fetch level from uv_index where qc exists in cloud_cover sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000746", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: level, lon, reading, qc\n Sensor: turbidity | fields: level, lon, qc, value\nTask: Get reading from humidity where reading exceeds the maximum value from turbidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"turbidity\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000747", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: depth, qc, lon, value\n Sensor: snow_depth | fields: level, ts, type, depth\nTask: Fetch reading from temperature where type exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000748", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: depth, lat, level, ts\n Sensor: visibility | fields: depth, reading, ts, lon\nTask: Retrieve lon from cloud_cover with reading above the MAX(depth) of visibility readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"visibility\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000749", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: reading, level, value, unit\n Sensor: evaporation | fields: lat, qc, type, lon\nTask: Get value from rainfall where a corresponding entry exists in evaporation with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000750", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lon, level, reading, lat\n Sensor: dew_point | fields: reading, value, ts, type\nTask: Retrieve lat from frost that have at least one matching reading in dew_point sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000751", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: ts, reading, value, lon\n Sensor: humidity | fields: qc, lat, ts, unit\nTask: Retrieve lon from temperature with depth above the MAX(reading) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"humidity\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000752", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: depth, reading, qc, lat\n Sensor: snow_depth | fields: depth, ts, value, unit\nTask: Fetch reading from humidity that have at least one corresponding snow_depth measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000753", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: level, type, value, depth\n Sensor: dew_point | fields: depth, qc, lon, level\nTask: Retrieve value from drought_index that have at least one matching reading in dew_point sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000754", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: type, unit, lat, depth\n Sensor: sunlight | fields: depth, lon, qc, value\nTask: Get level from temperature where value exceeds the average value from sunlight for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"sunlight\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000755", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lon, lat, ts, reading\n Sensor: dew_point | fields: ts, qc, type, level\nTask: Fetch reading from humidity where depth is greater than the total of value in dew_point for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"dew_point\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000756", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: lat, qc, reading, lon\n Sensor: humidity | fields: level, value, depth, type\nTask: Retrieve reading from soil_moisture with value above the MAX(reading) of humidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"humidity\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000757", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: level, depth, lon, reading\n Sensor: evaporation | fields: depth, lon, ts, type\nTask: Retrieve level from lightning that have at least one matching reading in evaporation sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000758", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: value, level, type, depth\n Sensor: wind_speed | fields: unit, lon, value, level\nTask: Retrieve lat from air_quality whose unit is found in wind_speed records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000759", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: unit, lon, lat, value\n Sensor: humidity | fields: ts, lat, depth, lon\nTask: Fetch reading from uv_index where unit exists in humidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000760", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: ts, type, depth, lon\n Sensor: turbidity | fields: value, ts, level, qc\nTask: Fetch lon from evaporation where unit exists in turbidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000761", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: lat, lon, depth, value\n Sensor: dew_point | fields: ts, reading, value, type\nTask: Fetch reading from humidity where qc exists in dew_point sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000762", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: ts, unit, lat, level\n Sensor: dew_point | fields: qc, lat, ts, depth\nTask: Retrieve lon from turbidity whose qc is found in dew_point records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000763", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: reading, level, qc, lon\n Sensor: evaporation | fields: ts, unit, reading, value\nTask: Get depth from air_quality where reading exceeds the total depth from evaporation for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000764", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: qc, lon, type, depth\n Sensor: humidity | fields: lat, depth, qc, value\nTask: Get lat from uv_index where depth exceeds the count of reading from humidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"humidity\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000765", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, level, depth, type\n Sensor: lightning | fields: type, level, depth, lat\nTask: Retrieve value from wind_speed whose type is found in lightning records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000766", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: reading, value, lat, unit\n Sensor: sunlight | fields: type, level, ts, qc\nTask: Retrieve value from humidity that have at least one matching reading in sunlight sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "value", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000767", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: depth, unit, lon, level\n Sensor: lightning | fields: depth, lon, type, unit\nTask: Get value from soil_moisture where a corresponding entry exists in lightning with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000768", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: qc, lon, reading, ts\n Sensor: humidity | fields: qc, value, lon, lat\nTask: Retrieve depth from snow_depth with depth above the SUM(depth) of humidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000769", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lat, depth, qc, reading\n Sensor: temperature | fields: ts, qc, depth, unit\nTask: Fetch lat from humidity where depth is greater than the maximum of depth in temperature for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"temperature\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000770", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: depth, qc, lon, level\n Sensor: uv_index | fields: qc, unit, value, reading\nTask: Fetch lon from visibility where depth exists in uv_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000771", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lat, ts, unit, type\n Sensor: turbidity | fields: depth, lon, ts, lat\nTask: Retrieve value from sunlight with reading above the COUNT(value) of turbidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"turbidity\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000772", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: value, depth, lon, reading\n Sensor: pressure | fields: reading, ts, type, depth\nTask: Fetch lon from snow_depth that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lon", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000773", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: unit, value, lon, qc\n Sensor: humidity | fields: reading, value, qc, type\nTask: Fetch reading from visibility where unit exists in humidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000774", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: ts, qc, unit, depth\n Sensor: lightning | fields: lon, ts, depth, qc\nTask: Get reading from visibility where a corresponding entry exists in lightning with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000775", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: lon, ts, type, level\n Sensor: temperature | fields: level, ts, depth, lat\nTask: Get level from evaporation where a corresponding entry exists in temperature with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000776", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: level, depth, type, lon\n Sensor: frost | fields: level, depth, unit, type\nTask: Get value from temperature where a corresponding entry exists in frost with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000777", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: depth, value, type, lat\n Sensor: drought_index | fields: level, depth, ts, lat\nTask: Retrieve lat from wind_speed with depth above the COUNT(depth) of drought_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000778", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: lon, value, lat, reading\n Sensor: dew_point | fields: value, unit, ts, qc\nTask: Retrieve reading from rainfall whose unit is found in dew_point records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000779", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: depth, unit, value, lon\n Sensor: rainfall | fields: reading, value, lat, level\nTask: Get reading from pressure where depth appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000780", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: ts, qc, reading, depth\n Sensor: dew_point | fields: lat, value, ts, lon\nTask: Get value from frost where unit appears in dew_point readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000781", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: reading, lat, lon, ts\n Sensor: dew_point | fields: type, ts, qc, lon\nTask: Fetch value from lightning where value is greater than the minimum of value in dew_point for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"dew_point\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000782", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: lat, unit, reading, type\n Sensor: dew_point | fields: value, ts, unit, reading\nTask: Get value from uv_index where a corresponding entry exists in dew_point with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000783", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: lon, reading, depth, qc\n Sensor: visibility | fields: depth, qc, lon, ts\nTask: Fetch value from sunlight where value is greater than the maximum of depth in visibility for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000784", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: value, qc, lon, level\n Sensor: evaporation | fields: reading, depth, lon, level\nTask: Get depth from humidity where depth exceeds the total reading from evaporation for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000785", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lat, qc, lon, type\n Sensor: pressure | fields: depth, lat, level, unit\nTask: Get level from rainfall where a corresponding entry exists in pressure with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000786", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: type, value, reading, ts\n Sensor: temperature | fields: level, lat, value, unit\nTask: Get depth from soil_moisture where a corresponding entry exists in temperature with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000787", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: type, lon, lat, value\n Sensor: pressure | fields: type, unit, lon, ts\nTask: Fetch value from humidity where depth is greater than the average of depth in pressure for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"pressure\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000788", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: reading, lon, value, type\n Sensor: visibility | fields: type, reading, ts, unit\nTask: Retrieve depth from air_quality whose unit is found in visibility records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000789", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: value, level, qc, lat\n Sensor: snow_depth | fields: lat, type, lon, value\nTask: Get value from sunlight where unit appears in snow_depth readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000790", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: unit, lon, value, level\n Sensor: soil_moisture | fields: qc, unit, depth, value\nTask: Fetch depth from dew_point that have at least one corresponding soil_moisture measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000791", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: value, qc, unit, lon\n Sensor: uv_index | fields: lat, lon, qc, reading\nTask: Fetch lon from frost where ts exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000792", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: unit, value, lat, depth\n Sensor: drought_index | fields: type, lat, reading, unit\nTask: Get depth from cloud_cover where qc appears in drought_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000793", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: depth, level, qc, value\n Sensor: soil_moisture | fields: lon, level, unit, qc\nTask: Retrieve reading from snow_depth with reading above the MAX(reading) of soil_moisture readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000794", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: ts, type, lat, reading\n Sensor: humidity | fields: qc, type, reading, ts\nTask: Get lon from dew_point where depth exceeds the minimum reading from humidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000795", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: depth, lat, qc, unit\n Sensor: air_quality | fields: lat, reading, level, depth\nTask: Get reading from wind_speed where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "reading", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000796", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: level, type, reading, depth\n Sensor: air_quality | fields: lat, qc, unit, value\nTask: Retrieve reading from rainfall whose ts is found in air_quality records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000797", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: qc, value, unit, level\n Sensor: soil_moisture | fields: type, ts, reading, value\nTask: Get reading from visibility where unit appears in soil_moisture readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000798", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: lon, depth, type, unit\n Sensor: humidity | fields: lat, level, value, qc\nTask: Retrieve reading from frost whose type is found in humidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000799", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: qc, depth, type, lat\n Sensor: sunlight | fields: lat, lon, qc, value\nTask: Retrieve reading from temperature with value above the MAX(value) of sunlight readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"sunlight\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000800", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: ts, unit, value, type\n Sensor: pressure | fields: type, value, unit, level\nTask: Get reading from soil_moisture where unit appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000801", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lat, type, unit, ts\n Sensor: cloud_cover | fields: reading, value, lat, unit\nTask: Retrieve reading from wind_speed whose ts is found in cloud_cover records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000802", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lon, type, qc, value\n Sensor: turbidity | fields: ts, qc, lat, type\nTask: Retrieve level from sunlight whose ts is found in turbidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000803", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: reading, ts, depth, type\n Sensor: air_quality | fields: unit, depth, reading, ts\nTask: Fetch value from pressure that have at least one corresponding air_quality measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000804", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: unit, lon, level, qc\n Sensor: lightning | fields: lon, ts, unit, value\nTask: Get value from rainfall where a corresponding entry exists in lightning with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "value", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000805", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: reading, lon, type, value\n Sensor: pressure | fields: level, lat, lon, qc\nTask: Get lon from dew_point where depth exceeds the count of reading from pressure for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"pressure\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000806", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lon, type, depth, ts\n Sensor: sunlight | fields: value, depth, type, unit\nTask: Retrieve lon from humidity with depth above the MIN(depth) of sunlight readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"sunlight\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000807", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: value, type, unit, qc\n Sensor: air_quality | fields: lon, lat, depth, value\nTask: Get level from soil_moisture where unit appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000808", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: lon, reading, level, depth\n Sensor: pressure | fields: level, type, qc, reading\nTask: Retrieve lon from air_quality that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000809", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: unit, depth, value, type\n Sensor: lightning | fields: depth, lat, ts, unit\nTask: Fetch value from snow_depth where type exists in lightning sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000810", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lon, reading, lat, depth\n Sensor: snow_depth | fields: qc, lat, lon, reading\nTask: Retrieve level from visibility that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000811", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: depth, ts, unit, lat\n Sensor: rainfall | fields: depth, lat, lon, value\nTask: Fetch depth from cloud_cover where depth is greater than the maximum of value in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"rainfall\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000812", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: lon, level, value, qc\n Sensor: frost | fields: reading, lon, lat, ts\nTask: Get lon from drought_index where a corresponding entry exists in frost with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000813", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: depth, qc, unit, reading\n Sensor: air_quality | fields: ts, reading, depth, value\nTask: Retrieve reading from soil_moisture whose depth is found in air_quality records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000814", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: qc, level, reading, depth\n Sensor: air_quality | fields: value, lat, depth, type\nTask: Fetch level from evaporation where value is greater than the average of depth in air_quality for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"air_quality\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000815", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: ts, qc, unit, depth\n Sensor: snow_depth | fields: value, level, lon, unit\nTask: Get level from pressure where a corresponding entry exists in snow_depth with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "level", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000816", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: qc, level, depth, type\n Sensor: rainfall | fields: level, unit, lon, value\nTask: Retrieve value from visibility whose unit is found in rainfall records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000817", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: value, reading, lon, type\n Sensor: dew_point | fields: ts, level, reading, type\nTask: Retrieve lat from snow_depth with reading above the MAX(reading) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"dew_point\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000818", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lon, depth, lat, unit\n Sensor: wind_speed | fields: ts, value, lon, unit\nTask: Fetch level from uv_index that have at least one corresponding wind_speed measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "level", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000819", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: qc, type, level, unit\n Sensor: cloud_cover | fields: unit, lat, value, lon\nTask: Retrieve reading from frost with value above the MIN(depth) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000820", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: reading, unit, type, ts\n Sensor: cloud_cover | fields: lon, type, ts, lat\nTask: Retrieve level from dew_point with depth above the SUM(depth) of cloud_cover readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000821", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lat, ts, depth, reading\n Sensor: frost | fields: ts, qc, level, lon\nTask: Retrieve level from snow_depth whose ts is found in frost records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000822", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lat, unit, value, type\n Sensor: soil_moisture | fields: qc, type, lat, unit\nTask: Get lat from turbidity where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lat", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000823", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: lat, lon, unit, value\n Sensor: air_quality | fields: level, unit, lon, qc\nTask: Fetch depth from turbidity that have at least one corresponding air_quality measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000824", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: qc, reading, depth, unit\n Sensor: turbidity | fields: qc, lon, lat, ts\nTask: Retrieve lat from rainfall with value above the MIN(depth) of turbidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"turbidity\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000825", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: lat, value, unit, ts\n Sensor: visibility | fields: value, depth, level, qc\nTask: Retrieve lon from soil_moisture with depth above the AVG(depth) of visibility readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"visibility\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000826", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: type, depth, value, reading\n Sensor: drought_index | fields: ts, value, type, depth\nTask: Get depth from pressure where type appears in drought_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000827", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lat, type, value, lon\n Sensor: air_quality | fields: depth, lat, value, ts\nTask: Retrieve reading from wind_speed with reading above the MIN(depth) of air_quality readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000828", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: reading, depth, lon, value\n Sensor: rainfall | fields: type, reading, qc, lon\nTask: Fetch lat from frost that have at least one corresponding rainfall measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000829", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: reading, value, depth, lat\n Sensor: cloud_cover | fields: reading, ts, level, lat\nTask: Retrieve lon from humidity with depth above the COUNT(depth) of cloud_cover readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000830", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: value, lat, depth, lon\n Sensor: uv_index | fields: reading, lon, unit, lat\nTask: Get depth from humidity where unit appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000831", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lat, unit, type, ts\n Sensor: sunlight | fields: ts, value, qc, type\nTask: Retrieve depth from dew_point with depth above the MAX(depth) of sunlight readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"sunlight\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000832", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: ts, lon, depth, unit\n Sensor: air_quality | fields: value, type, lon, depth\nTask: Get lat from sunlight where a corresponding entry exists in air_quality with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000833", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: type, value, lat, unit\n Sensor: dew_point | fields: lon, type, level, reading\nTask: Retrieve value from humidity that have at least one matching reading in dew_point sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000834", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: level, type, qc, depth\n Sensor: rainfall | fields: lon, lat, depth, reading\nTask: Retrieve reading from uv_index with reading above the MAX(depth) of rainfall readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"rainfall\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000835", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lon, unit, value, level\n Sensor: frost | fields: qc, type, lon, ts\nTask: Get lon from evaporation where type appears in frost readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000836", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: unit, depth, lon, reading\n Sensor: humidity | fields: lon, reading, depth, lat\nTask: Retrieve value from wind_speed whose unit is found in humidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000837", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: qc, type, level, reading\n Sensor: drought_index | fields: unit, depth, value, level\nTask: Fetch level from rainfall where type exists in drought_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000838", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: reading, value, depth, lon\n Sensor: snow_depth | fields: depth, reading, ts, lon\nTask: Retrieve level from dew_point whose unit is found in snow_depth records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000839", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: unit, level, reading, depth\n Sensor: cloud_cover | fields: type, ts, lon, lat\nTask: Fetch lat from turbidity where qc exists in cloud_cover sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000840", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: depth, reading, lat, type\n Sensor: uv_index | fields: level, lat, ts, reading\nTask: Retrieve lat from wind_speed whose ts is found in uv_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000841", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: qc, lat, depth, ts\n Sensor: dew_point | fields: value, type, lat, depth\nTask: Retrieve lat from frost that have at least one matching reading in dew_point sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000842", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: type, lat, depth, lon\n Sensor: humidity | fields: lon, value, lat, type\nTask: Retrieve depth from uv_index that have at least one matching reading in humidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000843", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: reading, depth, ts, lat\n Sensor: lightning | fields: lon, depth, unit, lat\nTask: Get depth from frost where unit appears in lightning readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000844", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: unit, qc, type, ts\n Sensor: frost | fields: depth, ts, level, lon\nTask: Retrieve depth from rainfall whose ts is found in frost records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000845", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: type, value, lon, lat\n Sensor: turbidity | fields: lon, level, depth, ts\nTask: Fetch reading from dew_point that have at least one corresponding turbidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000846", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: value, ts, type, qc\n Sensor: frost | fields: unit, qc, lat, lon\nTask: Fetch value from sunlight that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000847", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: qc, value, type, unit\n Sensor: dew_point | fields: value, unit, qc, depth\nTask: Get lon from soil_moisture where type appears in dew_point readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000848", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: value, level, reading, qc\n Sensor: humidity | fields: lat, level, ts, depth\nTask: Retrieve lat from snow_depth with depth above the SUM(value) of humidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"humidity\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000849", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: ts, value, lon, depth\n Sensor: sunlight | fields: unit, lat, depth, type\nTask: Retrieve reading from wind_speed that have at least one matching reading in sunlight sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "reading", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000850", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: qc, type, lon, level\n Sensor: snow_depth | fields: depth, level, lon, value\nTask: Get lon from uv_index where a corresponding entry exists in snow_depth with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lon", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000851", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: unit, depth, reading, ts\n Sensor: drought_index | fields: lon, value, lat, reading\nTask: Get level from evaporation where reading exceeds the count of reading from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"drought_index\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000852", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: depth, reading, ts, type\n Sensor: drought_index | fields: ts, reading, lat, qc\nTask: Fetch reading from dew_point that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000853", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: lat, unit, ts, level\n Sensor: air_quality | fields: type, value, lat, unit\nTask: Fetch depth from visibility where qc exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000854", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: depth, lon, ts, qc\n Sensor: frost | fields: qc, lon, ts, lat\nTask: Fetch value from turbidity where depth is greater than the average of reading in frost for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"frost\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000855", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: depth, type, ts, lat\n Sensor: humidity | fields: qc, type, reading, unit\nTask: Fetch lon from temperature that have at least one corresponding humidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000856", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: reading, level, depth, type\n Sensor: air_quality | fields: depth, lat, unit, ts\nTask: Get reading from dew_point where depth exceeds the average value from air_quality for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000857", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: type, reading, value, lat\n Sensor: pressure | fields: value, ts, qc, reading\nTask: Get reading from dew_point where a corresponding entry exists in pressure with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000858", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: depth, value, ts, lon\n Sensor: rainfall | fields: qc, type, lon, unit\nTask: Get lon from humidity where depth appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000859", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: value, lat, type, qc\n Sensor: visibility | fields: lat, depth, qc, level\nTask: Retrieve level from wind_speed with value above the AVG(reading) of visibility readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"visibility\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000860", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lat, value, qc, level\n Sensor: sunlight | fields: lat, lon, type, value\nTask: Fetch reading from visibility where depth is greater than the count of of depth in sunlight for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000861", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lat, reading, lon, level\n Sensor: evaporation | fields: level, ts, value, reading\nTask: Get reading from temperature where value exceeds the total depth from evaporation for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000862", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: level, lon, ts, lat\n Sensor: air_quality | fields: value, qc, lat, lon\nTask: Get lon from temperature where reading exceeds the average reading from air_quality for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"air_quality\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000863", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: unit, type, lon, depth\n Sensor: snow_depth | fields: lon, type, lat, unit\nTask: Retrieve depth from cloud_cover whose unit is found in snow_depth records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000864", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: lat, value, ts, depth\n Sensor: lightning | fields: lon, unit, depth, reading\nTask: Fetch value from humidity where type exists in lightning sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000865", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: ts, value, lon, lat\n Sensor: snow_depth | fields: level, type, unit, qc\nTask: Fetch depth from visibility where value is greater than the minimum of value in snow_depth for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"snow_depth\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000866", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: reading, lat, unit, ts\n Sensor: temperature | fields: reading, value, level, type\nTask: Get lon from uv_index where depth exceeds the minimum reading from temperature for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"temperature\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000867", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: unit, qc, depth, lat\n Sensor: evaporation | fields: value, qc, depth, ts\nTask: Get reading from uv_index where depth exceeds the count of reading from evaporation for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"evaporation\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000868", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: value, reading, lon, depth\n Sensor: visibility | fields: lon, value, reading, ts\nTask: Retrieve lon from soil_moisture whose depth is found in visibility records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000869", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: value, reading, lon, unit\n Sensor: uv_index | fields: level, reading, unit, type\nTask: Retrieve value from sunlight with value above the MAX(depth) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000870", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: depth, unit, ts, value\n Sensor: wind_speed | fields: value, unit, depth, reading\nTask: Get lon from turbidity where a corresponding entry exists in wind_speed with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lon", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000871", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: reading, unit, type, ts\n Sensor: pressure | fields: qc, ts, lat, depth\nTask: Retrieve reading from sunlight with depth above the MIN(value) of pressure readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"pressure\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000872", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: level, lat, ts, qc\n Sensor: cloud_cover | fields: unit, lat, qc, value\nTask: Retrieve lon from pressure that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000873", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: qc, type, lon, unit\n Sensor: dew_point | fields: reading, lat, qc, level\nTask: Get level from frost where a corresponding entry exists in dew_point with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000874", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: type, qc, ts, lon\n Sensor: temperature | fields: type, depth, value, lon\nTask: Get lon from turbidity where reading exceeds the total value from temperature for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"temperature\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000875", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: lat, ts, type, unit\n Sensor: lightning | fields: type, reading, lat, qc\nTask: Fetch reading from snow_depth where depth is greater than the maximum of reading in lightning for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"lightning\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000876", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: value, depth, reading, level\n Sensor: air_quality | fields: ts, unit, value, lat\nTask: Fetch reading from sunlight that have at least one corresponding air_quality measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000877", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: type, depth, lon, unit\n Sensor: air_quality | fields: unit, lat, value, type\nTask: Retrieve level from lightning with value above the SUM(value) of air_quality readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000878", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lat, level, reading, type\n Sensor: sunlight | fields: lon, type, lat, level\nTask: Retrieve level from rainfall whose ts is found in sunlight records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000879", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: qc, type, ts, unit\n Sensor: evaporation | fields: depth, lat, unit, type\nTask: Fetch lat from pressure that have at least one corresponding evaporation measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000880", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lon, ts, depth, lat\n Sensor: cloud_cover | fields: lon, unit, value, lat\nTask: Get reading from snow_depth where depth appears in cloud_cover readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000881", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: value, qc, unit, reading\n Sensor: wind_speed | fields: unit, ts, level, reading\nTask: Get reading from pressure where value exceeds the count of reading from wind_speed for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"wind_speed\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000882", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: type, qc, unit, depth\n Sensor: sunlight | fields: ts, type, level, depth\nTask: Fetch value from temperature where qc exists in sunlight sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000883", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: depth, value, qc, lon\n Sensor: drought_index | fields: level, unit, qc, depth\nTask: Retrieve value from visibility with value above the MIN(reading) of drought_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"drought_index\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000884", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: ts, type, level, depth\n Sensor: frost | fields: depth, level, ts, unit\nTask: Get lon from cloud_cover where ts appears in frost readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000885", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: lon, depth, value, reading\n Sensor: temperature | fields: ts, value, reading, qc\nTask: Retrieve value from soil_moisture that have at least one matching reading in temperature sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "value", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000886", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lat, level, value, type\n Sensor: uv_index | fields: level, type, depth, unit\nTask: Retrieve reading from drought_index whose ts is found in uv_index records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000887", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: level, unit, value, qc\n Sensor: humidity | fields: unit, qc, reading, lat\nTask: Get depth from evaporation where a corresponding entry exists in humidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000888", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: unit, reading, lat, lon\n Sensor: snow_depth | fields: qc, depth, lat, reading\nTask: Get level from wind_speed where a corresponding entry exists in snow_depth with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "level", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000889", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: unit, ts, value, lat\n Sensor: temperature | fields: lon, unit, level, value\nTask: Fetch depth from wind_speed where unit exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000890", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: unit, ts, qc, depth\n Sensor: rainfall | fields: lon, reading, level, type\nTask: Get reading from temperature where reading exceeds the total reading from rainfall for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"rainfall\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000891", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: reading, type, depth, qc\n Sensor: uv_index | fields: depth, unit, reading, value\nTask: Get level from humidity where reading exceeds the total depth from uv_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"uv_index\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000892", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: type, qc, unit, ts\n Sensor: temperature | fields: value, level, type, lat\nTask: Fetch level from drought_index that have at least one corresponding temperature measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000893", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lat, qc, level, lon\n Sensor: temperature | fields: depth, qc, ts, reading\nTask: Fetch level from soil_moisture where ts exists in temperature sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000894", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: level, lon, type, qc\n Sensor: air_quality | fields: depth, level, type, ts\nTask: Fetch lon from wind_speed that have at least one corresponding air_quality measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000895", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: ts, level, depth, lat\n Sensor: uv_index | fields: unit, value, lat, level\nTask: Fetch value from temperature where type exists in uv_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000896", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: value, lat, type, qc\n Sensor: evaporation | fields: reading, depth, qc, lat\nTask: Get level from cloud_cover where a corresponding entry exists in evaporation with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000897", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: level, qc, lat, lon\n Sensor: snow_depth | fields: unit, level, lon, reading\nTask: Fetch lon from wind_speed where depth exists in snow_depth sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000898", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: qc, lon, reading, value\n Sensor: dew_point | fields: ts, type, depth, lat\nTask: Retrieve depth from humidity whose unit is found in dew_point records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000899", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: ts, unit, type, value\n Sensor: pressure | fields: type, lon, depth, lat\nTask: Retrieve lat from drought_index whose qc is found in pressure records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000900", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lat, value, reading, unit\n Sensor: lightning | fields: unit, value, qc, depth\nTask: Get value from rainfall where depth exceeds the count of reading from lightning for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"lightning\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000901", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: value, reading, lat, qc\n Sensor: drought_index | fields: unit, level, reading, type\nTask: Fetch level from soil_moisture where unit exists in drought_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000902", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: value, lon, level, ts\n Sensor: rainfall | fields: value, reading, unit, level\nTask: Get depth from lightning where a corresponding entry exists in rainfall with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000903", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: value, lon, qc, type\n Sensor: sunlight | fields: ts, qc, level, lon\nTask: Get value from dew_point where unit appears in sunlight readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000904", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: qc, ts, unit, lat\n Sensor: temperature | fields: depth, lat, reading, type\nTask: Get depth from lightning where depth exceeds the minimum depth from temperature for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"temperature\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000905", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: ts, lat, qc, depth\n Sensor: temperature | fields: value, type, lon, reading\nTask: Retrieve lon from visibility with depth above the MAX(value) of temperature readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"temperature\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000906", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: type, qc, reading, level\n Sensor: dew_point | fields: reading, level, lon, qc\nTask: Retrieve value from soil_moisture whose ts is found in dew_point records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000907", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: type, lat, qc, reading\n Sensor: evaporation | fields: reading, lat, depth, level\nTask: Retrieve value from dew_point with depth above the MAX(depth) of evaporation readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"evaporation\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000908", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: unit, reading, level, type\n Sensor: lightning | fields: reading, depth, unit, lon\nTask: Retrieve lat from rainfall whose type is found in lightning records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000909", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: lon, type, value, ts\n Sensor: humidity | fields: lon, level, type, lat\nTask: Fetch reading from temperature that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "reading", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000910", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: ts, value, qc, unit\n Sensor: humidity | fields: reading, type, unit, lon\nTask: Get reading from snow_depth where ts appears in humidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000911", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: ts, lon, unit, reading\n Sensor: lightning | fields: value, unit, lon, level\nTask: Retrieve reading from uv_index that have at least one matching reading in lightning sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "reading", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000912", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: depth, reading, unit, ts\n Sensor: pressure | fields: depth, ts, reading, qc\nTask: Retrieve depth from evaporation with reading above the AVG(depth) of pressure readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"pressure\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000913", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: ts, lat, qc, unit\n Sensor: pressure | fields: lat, unit, ts, lon\nTask: Get lon from wind_speed where depth appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000914", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: ts, value, level, type\n Sensor: pressure | fields: unit, ts, qc, lon\nTask: Get lon from soil_moisture where qc appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000915", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: type, lat, depth, level\n Sensor: humidity | fields: type, lat, ts, depth\nTask: Retrieve lon from sunlight that have at least one matching reading in humidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000916", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: lon, depth, qc, value\n Sensor: visibility | fields: unit, level, value, type\nTask: Fetch level from lightning where qc exists in visibility sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000917", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lat, value, reading, level\n Sensor: rainfall | fields: depth, lon, ts, unit\nTask: Get depth from dew_point where unit appears in rainfall readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000918", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: lon, ts, lat, value\n Sensor: wind_speed | fields: lon, level, type, qc\nTask: Fetch level from lightning that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "level", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000919", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: type, reading, level, unit\n Sensor: visibility | fields: ts, reading, value, lat\nTask: Get depth from turbidity where reading exceeds the count of reading from visibility for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"visibility\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000920", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: level, ts, lon, reading\n Sensor: air_quality | fields: unit, ts, lon, value\nTask: Get lat from humidity where a corresponding entry exists in air_quality with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lat", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000921", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: type, depth, level, unit\n Sensor: uv_index | fields: depth, lon, ts, level\nTask: Retrieve value from lightning whose depth is found in uv_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000922", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: unit, value, lat, qc\n Sensor: dew_point | fields: lon, depth, type, qc\nTask: Retrieve depth from visibility whose type is found in dew_point records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000923", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: lon, type, depth, ts\n Sensor: dew_point | fields: ts, lon, reading, lat\nTask: Fetch reading from uv_index that have at least one corresponding dew_point measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "reading", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000924", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: lat, value, depth, reading\n Sensor: cloud_cover | fields: type, qc, lon, ts\nTask: Fetch level from evaporation that have at least one corresponding cloud_cover measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000925", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: lon, level, reading, unit\n Sensor: rainfall | fields: qc, unit, type, ts\nTask: Get level from snow_depth where depth exceeds the average depth from rainfall for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"rainfall\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000926", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: ts, qc, lon, depth\n Sensor: drought_index | fields: depth, unit, level, ts\nTask: Get lat from visibility where value exceeds the maximum depth from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"drought_index\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000927", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: qc, value, ts, reading\n Sensor: drought_index | fields: unit, ts, qc, type\nTask: Fetch reading from snow_depth where reading is greater than the maximum of value in drought_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"drought_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000928", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: depth, qc, lat, reading\n Sensor: sunlight | fields: depth, qc, level, ts\nTask: Retrieve level from wind_speed that have at least one matching reading in sunlight sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000929", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: level, qc, type, depth\n Sensor: cloud_cover | fields: value, unit, type, depth\nTask: Fetch depth from wind_speed that have at least one corresponding cloud_cover measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000930", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: type, ts, depth, value\n Sensor: drought_index | fields: depth, lat, type, qc\nTask: Fetch reading from temperature where ts exists in drought_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000931", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: depth, reading, ts, value\n Sensor: temperature | fields: type, ts, value, lon\nTask: Fetch lat from uv_index that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000932", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lon, unit, value, type\n Sensor: cloud_cover | fields: lon, lat, value, type\nTask: Fetch lon from humidity that have at least one corresponding cloud_cover measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000933", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: type, lat, lon, ts\n Sensor: temperature | fields: qc, ts, level, lon\nTask: Get level from air_quality where a corresponding entry exists in temperature with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000934", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: lat, unit, reading, value\n Sensor: lightning | fields: lat, lon, depth, value\nTask: Retrieve lon from dew_point with value above the AVG(value) of lightning readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"lightning\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000935", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: reading, type, ts, qc\n Sensor: uv_index | fields: level, depth, qc, lat\nTask: Fetch lon from rainfall where reading is greater than the minimum of value in uv_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"uv_index\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000936", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: unit, type, value, lat\n Sensor: rainfall | fields: depth, level, reading, qc\nTask: Get level from sunlight where depth appears in rainfall readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000937", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: lon, qc, depth, unit\n Sensor: cloud_cover | fields: qc, reading, lat, type\nTask: Fetch value from pressure where depth exists in cloud_cover sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000938", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: reading, depth, unit, lat\n Sensor: cloud_cover | fields: unit, qc, lat, ts\nTask: Fetch lon from snow_depth where value is greater than the maximum of reading in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000939", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lon, unit, value, ts\n Sensor: temperature | fields: depth, unit, qc, level\nTask: Fetch value from turbidity that have at least one corresponding temperature measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000940", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: unit, reading, ts, type\n Sensor: pressure | fields: ts, value, lon, reading\nTask: Retrieve depth from cloud_cover with depth above the SUM(reading) of pressure readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"pressure\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000941", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: level, depth, qc, lon\n Sensor: lightning | fields: depth, value, level, lon\nTask: Retrieve depth from cloud_cover whose qc is found in lightning records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000942", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: depth, level, ts, reading\n Sensor: uv_index | fields: qc, level, unit, type\nTask: Fetch level from evaporation that have at least one corresponding uv_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000943", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: lon, unit, value, type\n Sensor: dew_point | fields: reading, lat, level, type\nTask: Retrieve depth from snow_depth with depth above the MIN(depth) of dew_point readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"dew_point\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000944", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: type, lon, qc, depth\n Sensor: soil_moisture | fields: lat, unit, ts, level\nTask: Retrieve level from dew_point whose qc is found in soil_moisture records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000945", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: ts, qc, reading, level\n Sensor: pressure | fields: lat, qc, level, depth\nTask: Retrieve depth from visibility whose depth is found in pressure records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000946", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: value, type, lon, ts\n Sensor: soil_moisture | fields: type, lon, unit, depth\nTask: Retrieve lon from sunlight that have at least one matching reading in soil_moisture sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000947", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: reading, type, value, ts\n Sensor: soil_moisture | fields: unit, reading, depth, lat\nTask: Retrieve lon from air_quality with reading above the COUNT(value) of soil_moisture readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"soil_moisture\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000948", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: qc, ts, type, unit\n Sensor: cloud_cover | fields: value, ts, reading, lat\nTask: Fetch lon from pressure that have at least one corresponding cloud_cover measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lon", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000949", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: reading, ts, lat, depth\n Sensor: frost | fields: ts, level, reading, unit\nTask: Retrieve level from evaporation with depth above the AVG(value) of frost readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000950", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: qc, level, lat, depth\n Sensor: visibility | fields: level, lat, value, depth\nTask: Retrieve depth from wind_speed with depth above the AVG(value) of visibility readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"visibility\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000951", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: unit, lon, lat, value\n Sensor: pressure | fields: value, qc, type, depth\nTask: Fetch level from wind_speed that have at least one corresponding pressure measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000952", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: level, depth, ts, lat\n Sensor: soil_moisture | fields: unit, level, depth, value\nTask: Fetch depth from drought_index where reading is greater than the total of value in soil_moisture for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000953", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lat, level, reading, lon\n Sensor: sunlight | fields: unit, type, qc, depth\nTask: Get value from temperature where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000954", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: level, value, lon, type\n Sensor: soil_moisture | fields: qc, depth, lon, type\nTask: Retrieve lon from uv_index with value above the AVG(depth) of soil_moisture readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000955", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: unit, reading, level, lon\n Sensor: frost | fields: type, lon, unit, ts\nTask: Get value from cloud_cover where reading exceeds the average value from frost for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"frost\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000956", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: value, ts, unit, depth\n Sensor: visibility | fields: depth, reading, ts, lon\nTask: Get lon from soil_moisture where depth exceeds the count of depth from visibility for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000957", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: ts, lon, value, reading\n Sensor: snow_depth | fields: qc, depth, reading, value\nTask: Fetch reading from dew_point that have at least one corresponding snow_depth measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000958", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: depth, ts, reading, type\n Sensor: air_quality | fields: unit, lat, type, reading\nTask: Get level from evaporation where ts appears in air_quality readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000959", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: ts, reading, qc, depth\n Sensor: air_quality | fields: ts, lat, unit, level\nTask: Get value from turbidity where a corresponding entry exists in air_quality with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000960", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: reading, level, type, qc\n Sensor: visibility | fields: reading, level, depth, value\nTask: Fetch depth from temperature where reading is greater than the total of depth in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"visibility\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000961", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: lon, type, qc, depth\n Sensor: rainfall | fields: lon, unit, ts, lat\nTask: Get lon from pressure where qc appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000962", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: ts, qc, lon, unit\n Sensor: cloud_cover | fields: depth, ts, type, lon\nTask: Get level from temperature where a corresponding entry exists in cloud_cover with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "level", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000963", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: qc, lat, depth, ts\n Sensor: soil_moisture | fields: depth, type, lon, reading\nTask: Fetch lat from dew_point that have at least one corresponding soil_moisture measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000964", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: qc, depth, level, unit\n Sensor: pressure | fields: lon, value, type, unit\nTask: Fetch level from soil_moisture where reading is greater than the maximum of reading in pressure for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"pressure\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000965", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: depth, lon, unit, ts\n Sensor: evaporation | fields: level, ts, type, unit\nTask: Fetch lat from sunlight where value is greater than the total of reading in evaporation for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"evaporation\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000966", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: ts, unit, value, depth\n Sensor: wind_speed | fields: type, qc, depth, value\nTask: Retrieve level from turbidity whose ts is found in wind_speed records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000967", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: unit, type, ts, reading\n Sensor: soil_moisture | fields: qc, unit, value, lon\nTask: Fetch depth from rainfall where depth is greater than the average of depth in soil_moisture for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000968", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: level, reading, unit, type\n Sensor: cloud_cover | fields: lon, unit, value, reading\nTask: Get depth from humidity where a corresponding entry exists in cloud_cover with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000969", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: type, qc, ts, unit\n Sensor: sunlight | fields: level, unit, value, ts\nTask: Get value from temperature where depth appears in sunlight readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000970", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: reading, qc, unit, lon\n Sensor: humidity | fields: value, lat, lon, type\nTask: Retrieve value from rainfall with reading above the MAX(value) of humidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"humidity\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000971", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: value, lat, depth, ts\n Sensor: air_quality | fields: ts, depth, reading, qc\nTask: Retrieve reading from pressure with value above the MAX(value) of air_quality readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000972", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: ts, qc, reading, value\n Sensor: uv_index | fields: lon, unit, reading, ts\nTask: Get lat from pressure where a corresponding entry exists in uv_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lat", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000973", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: value, level, depth, unit\n Sensor: drought_index | fields: depth, lat, level, type\nTask: Retrieve depth from cloud_cover with value above the MAX(depth) of drought_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"drought_index\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000974", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: reading, depth, unit, lon\n Sensor: cloud_cover | fields: ts, reading, lon, type\nTask: Get lon from evaporation where depth exceeds the count of depth from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000975", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: level, lon, unit, value\n Sensor: lightning | fields: unit, depth, value, lon\nTask: Get level from frost where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000976", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: level, qc, value, ts\n Sensor: snow_depth | fields: ts, lon, lat, qc\nTask: Retrieve lat from uv_index with value above the MAX(value) of snow_depth readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"snow_depth\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000977", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: ts, reading, lat, qc\n Sensor: uv_index | fields: type, ts, depth, lat\nTask: Fetch lon from evaporation where depth is greater than the maximum of reading in uv_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"uv_index\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000978", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: value, unit, type, lat\n Sensor: frost | fields: qc, depth, level, ts\nTask: Retrieve level from wind_speed with depth above the MAX(reading) of frost readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"frost\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000979", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: reading, value, level, unit\n Sensor: humidity | fields: type, depth, level, ts\nTask: Retrieve level from cloud_cover whose depth is found in humidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000980", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: lat, type, ts, lon\n Sensor: air_quality | fields: ts, unit, reading, level\nTask: Retrieve lat from pressure that have at least one matching reading in air_quality sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000981", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: ts, value, lat, type\n Sensor: cloud_cover | fields: lat, type, lon, qc\nTask: Get reading from snow_depth where a corresponding entry exists in cloud_cover with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000982", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lat, level, lon, unit\n Sensor: uv_index | fields: type, unit, ts, reading\nTask: Get reading from snow_depth where a corresponding entry exists in uv_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000983", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: reading, ts, value, level\n Sensor: temperature | fields: level, ts, unit, lon\nTask: Retrieve depth from frost with depth above the COUNT(value) of temperature readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"temperature\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000984", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: unit, depth, lat, ts\n Sensor: rainfall | fields: reading, value, lat, lon\nTask: Get depth from air_quality where value exceeds the average depth from rainfall for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"rainfall\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000985", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: value, lon, type, depth\n Sensor: snow_depth | fields: depth, unit, value, qc\nTask: Get lon from pressure where reading exceeds the maximum depth from snow_depth for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"snow_depth\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000986", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: type, qc, depth, reading\n Sensor: turbidity | fields: ts, type, level, depth\nTask: Retrieve lat from rainfall whose ts is found in turbidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000987", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: depth, level, value, reading\n Sensor: pressure | fields: type, lon, qc, ts\nTask: Fetch reading from frost where depth exists in pressure sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000988", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lat, qc, lon, ts\n Sensor: temperature | fields: qc, unit, ts, value\nTask: Get lat from air_quality where ts appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000989", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: value, lat, ts, reading\n Sensor: temperature | fields: value, depth, lat, type\nTask: Retrieve reading from snow_depth whose depth is found in temperature records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000990", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: depth, qc, type, reading\n Sensor: dew_point | fields: qc, depth, ts, type\nTask: Retrieve lat from rainfall whose unit is found in dew_point records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000991", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: depth, value, unit, type\n Sensor: pressure | fields: qc, ts, unit, depth\nTask: Retrieve reading from dew_point that have at least one matching reading in pressure sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000992", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lon, depth, unit, qc\n Sensor: lightning | fields: level, depth, qc, value\nTask: Get lon from snow_depth where a corresponding entry exists in lightning with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000993", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: reading, lon, depth, value\n Sensor: snow_depth | fields: lat, qc, value, ts\nTask: Retrieve level from evaporation with reading above the MAX(depth) of snow_depth readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"snow_depth\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000994", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: type, reading, ts, level\n Sensor: temperature | fields: qc, type, reading, lon\nTask: Fetch value from soil_moisture that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000995", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: ts, reading, type, unit\n Sensor: drought_index | fields: level, unit, ts, qc\nTask: Get lon from uv_index where type appears in drought_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_000996", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: level, value, unit, lat\n Sensor: turbidity | fields: ts, value, reading, unit\nTask: Fetch depth from drought_index where depth is greater than the minimum of depth in turbidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"turbidity\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000997", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: reading, depth, qc, level\n Sensor: sunlight | fields: qc, level, lat, unit\nTask: Retrieve level from lightning whose qc is found in sunlight records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000998", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: depth, unit, lat, type\n Sensor: uv_index | fields: ts, level, unit, type\nTask: Get lat from air_quality where a corresponding entry exists in uv_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_000999", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: level, depth, qc, lat\n Sensor: soil_moisture | fields: qc, ts, reading, level\nTask: Fetch lat from humidity where qc exists in soil_moisture sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001000", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: ts, reading, lon, type\n Sensor: turbidity | fields: lon, type, level, reading\nTask: Get lon from air_quality where a corresponding entry exists in turbidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001001", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: depth, qc, ts, lon\n Sensor: uv_index | fields: level, lat, depth, ts\nTask: Fetch lat from visibility where depth exists in uv_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001002", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: ts, value, level, depth\n Sensor: turbidity | fields: type, level, lat, value\nTask: Fetch lon from pressure where depth is greater than the count of of depth in turbidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"turbidity\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001003", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: level, value, depth, unit\n Sensor: air_quality | fields: depth, lat, ts, value\nTask: Get lat from cloud_cover where type appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001004", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: value, level, qc, type\n Sensor: humidity | fields: level, lat, reading, lon\nTask: Get level from temperature where value exceeds the minimum reading from humidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001005", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: ts, level, unit, lon\n Sensor: dew_point | fields: reading, depth, level, lon\nTask: Get lon from drought_index where value exceeds the average reading from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"dew_point\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001006", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lat, value, reading, qc\n Sensor: rainfall | fields: depth, value, level, unit\nTask: Fetch value from soil_moisture where ts exists in rainfall sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001007", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: type, lat, level, qc\n Sensor: drought_index | fields: reading, value, unit, lon\nTask: Get level from wind_speed where reading exceeds the maximum value from drought_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"drought_index\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001008", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: depth, ts, level, unit\n Sensor: uv_index | fields: unit, type, lon, level\nTask: Get depth from pressure where ts appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001009", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: unit, ts, reading, lon\n Sensor: rainfall | fields: value, ts, lon, depth\nTask: Retrieve value from soil_moisture whose type is found in rainfall records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001010", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: unit, level, reading, value\n Sensor: sunlight | fields: type, unit, ts, lat\nTask: Retrieve reading from frost with reading above the COUNT(depth) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001011", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: ts, level, type, lon\n Sensor: visibility | fields: lat, reading, value, type\nTask: Retrieve value from humidity whose type is found in visibility records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001012", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: reading, ts, depth, unit\n Sensor: soil_moisture | fields: qc, reading, type, unit\nTask: Retrieve level from uv_index whose ts is found in soil_moisture records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001013", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: unit, value, qc, type\n Sensor: drought_index | fields: qc, lat, level, unit\nTask: Get value from turbidity where type appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001014", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: qc, reading, value, level\n Sensor: cloud_cover | fields: lat, depth, ts, lon\nTask: Get reading from pressure where qc appears in cloud_cover readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001015", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lon, reading, type, depth\n Sensor: visibility | fields: unit, lat, level, value\nTask: Retrieve depth from air_quality with value above the MIN(value) of visibility readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001016", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: qc, ts, value, lon\n Sensor: pressure | fields: ts, depth, level, unit\nTask: Get level from cloud_cover where depth appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001017", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: reading, lon, depth, value\n Sensor: sunlight | fields: ts, value, qc, reading\nTask: Retrieve reading from turbidity that have at least one matching reading in sunlight sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001018", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: qc, type, unit, level\n Sensor: evaporation | fields: qc, level, value, type\nTask: Retrieve lon from rainfall whose ts is found in evaporation records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001019", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: ts, value, qc, lon\n Sensor: snow_depth | fields: unit, qc, type, ts\nTask: Retrieve depth from lightning with depth above the COUNT(value) of snow_depth readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"snow_depth\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001020", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: ts, qc, lat, reading\n Sensor: wind_speed | fields: type, depth, qc, value\nTask: Get reading from humidity where value exceeds the maximum reading from wind_speed for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"wind_speed\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001021", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: qc, level, ts, depth\n Sensor: snow_depth | fields: type, unit, value, depth\nTask: Fetch lon from rainfall where value is greater than the average of value in snow_depth for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"snow_depth\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001022", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: ts, value, lat, qc\n Sensor: uv_index | fields: reading, qc, depth, lat\nTask: Get lat from air_quality where unit appears in uv_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001023", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: lon, level, lat, type\n Sensor: humidity | fields: qc, type, depth, level\nTask: Get lon from lightning where type appears in humidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001024", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: value, lat, unit, reading\n Sensor: dew_point | fields: qc, value, depth, unit\nTask: Get reading from visibility where qc appears in dew_point readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001025", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: lon, level, lat, reading\n Sensor: wind_speed | fields: reading, type, ts, level\nTask: Fetch lon from visibility where type exists in wind_speed sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001026", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: depth, lat, qc, type\n Sensor: visibility | fields: type, unit, value, depth\nTask: Fetch reading from frost where value is greater than the average of depth in visibility for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"visibility\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001027", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: value, unit, depth, qc\n Sensor: lightning | fields: unit, depth, level, ts\nTask: Fetch depth from soil_moisture that have at least one corresponding lightning measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001028", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: lat, reading, qc, unit\n Sensor: cloud_cover | fields: depth, ts, type, lon\nTask: Fetch reading from uv_index that have at least one corresponding cloud_cover measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001029", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: qc, reading, value, depth\n Sensor: pressure | fields: type, lon, depth, reading\nTask: Fetch lon from cloud_cover where qc exists in pressure sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001030", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: qc, lon, type, reading\n Sensor: cloud_cover | fields: lat, lon, reading, level\nTask: Retrieve value from frost that have at least one matching reading in cloud_cover sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001031", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: lat, lon, reading, level\n Sensor: snow_depth | fields: unit, qc, value, depth\nTask: Get value from dew_point where value exceeds the maximum reading from snow_depth for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001032", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lat, value, unit, ts\n Sensor: cloud_cover | fields: reading, value, qc, type\nTask: Fetch value from wind_speed that have at least one corresponding cloud_cover measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "value", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001033", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: qc, type, depth, level\n Sensor: uv_index | fields: type, lon, unit, qc\nTask: Get reading from soil_moisture where reading exceeds the maximum value from uv_index for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"uv_index\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001034", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lon, value, type, depth\n Sensor: lightning | fields: qc, reading, ts, unit\nTask: Get level from wind_speed where a corresponding entry exists in lightning with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "level", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001035", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: qc, depth, level, type\n Sensor: evaporation | fields: type, level, reading, lat\nTask: Fetch level from cloud_cover where depth exists in evaporation sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001036", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: lon, reading, unit, depth\n Sensor: snow_depth | fields: level, ts, value, reading\nTask: Fetch lon from sunlight that have at least one corresponding snow_depth measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001037", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: type, qc, ts, depth\n Sensor: snow_depth | fields: reading, ts, type, qc\nTask: Retrieve value from dew_point that have at least one matching reading in snow_depth sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001038", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: lon, type, lat, unit\n Sensor: sunlight | fields: lon, qc, type, value\nTask: Retrieve level from soil_moisture with depth above the MIN(reading) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"sunlight\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001039", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: unit, qc, type, lon\n Sensor: snow_depth | fields: type, lat, lon, level\nTask: Fetch lon from air_quality where value is greater than the maximum of value in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"snow_depth\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001040", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: qc, level, lat, depth\n Sensor: soil_moisture | fields: unit, type, lat, value\nTask: Fetch lon from cloud_cover where reading is greater than the total of depth in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001041", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: type, reading, lon, lat\n Sensor: temperature | fields: ts, reading, unit, lat\nTask: Get level from frost where depth appears in temperature readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001042", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: reading, lat, lon, depth\n Sensor: humidity | fields: level, lat, reading, qc\nTask: Fetch value from sunlight where reading is greater than the count of of value in humidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"humidity\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001043", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: level, unit, value, type\n Sensor: uv_index | fields: reading, depth, qc, level\nTask: Fetch reading from temperature where value is greater than the total of depth in uv_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"uv_index\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001044", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: lon, reading, unit, type\n Sensor: pressure | fields: depth, ts, lat, lon\nTask: Get depth from sunlight where a corresponding entry exists in pressure with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001045", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: value, depth, lat, reading\n Sensor: dew_point | fields: level, value, lat, type\nTask: Retrieve reading from soil_moisture that have at least one matching reading in dew_point sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "reading", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001046", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lon, ts, qc, unit\n Sensor: drought_index | fields: type, reading, value, ts\nTask: Retrieve value from turbidity whose depth is found in drought_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001047", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: level, lat, ts, type\n Sensor: rainfall | fields: value, level, qc, reading\nTask: Get depth from drought_index where reading exceeds the minimum value from rainfall for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001048", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lat, level, type, reading\n Sensor: pressure | fields: depth, lon, type, lat\nTask: Get depth from uv_index where value exceeds the maximum depth from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"pressure\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001049", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: ts, lat, reading, value\n Sensor: humidity | fields: qc, reading, unit, ts\nTask: Fetch lat from turbidity where value is greater than the total of depth in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001050", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: value, lon, level, unit\n Sensor: drought_index | fields: type, reading, ts, level\nTask: Get lat from air_quality where a corresponding entry exists in drought_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001051", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: ts, depth, lat, unit\n Sensor: sunlight | fields: value, unit, type, lat\nTask: Fetch value from turbidity where type exists in sunlight sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001052", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: type, lat, ts, level\n Sensor: lightning | fields: lat, type, value, ts\nTask: Get level from sunlight where ts appears in lightning readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001053", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: qc, depth, level, lon\n Sensor: air_quality | fields: reading, qc, ts, unit\nTask: Fetch reading from wind_speed where depth exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001054", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: depth, lat, type, lon\n Sensor: visibility | fields: lon, lat, unit, reading\nTask: Retrieve reading from turbidity with depth above the SUM(reading) of visibility readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"visibility\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001055", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, lat, lon, type\n Sensor: lightning | fields: unit, ts, lon, reading\nTask: Retrieve lat from uv_index with value above the AVG(reading) of lightning readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"lightning\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001056", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: level, type, lat, lon\n Sensor: drought_index | fields: reading, depth, type, value\nTask: Get value from uv_index where value exceeds the average depth from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"drought_index\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001057", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lat, type, level, reading\n Sensor: dew_point | fields: depth, lat, value, type\nTask: Get lon from rainfall where a corresponding entry exists in dew_point with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001058", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: lon, unit, lat, level\n Sensor: visibility | fields: level, value, reading, unit\nTask: Fetch level from evaporation that have at least one corresponding visibility measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001059", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: qc, reading, depth, unit\n Sensor: air_quality | fields: depth, type, value, reading\nTask: Fetch value from turbidity where value is greater than the minimum of reading in air_quality for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001060", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: reading, unit, qc, depth\n Sensor: drought_index | fields: lon, level, value, lat\nTask: Retrieve lat from rainfall with reading above the MAX(reading) of drought_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"drought_index\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001061", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: type, qc, depth, value\n Sensor: humidity | fields: type, reading, unit, lat\nTask: Fetch lon from snow_depth where depth is greater than the average of depth in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"humidity\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001062", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: qc, lon, reading, type\n Sensor: soil_moisture | fields: lon, lat, type, level\nTask: Retrieve value from uv_index with reading above the COUNT(depth) of soil_moisture readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001063", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: value, depth, level, reading\n Sensor: soil_moisture | fields: type, depth, value, qc\nTask: Get lon from lightning where a corresponding entry exists in soil_moisture with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lon", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001064", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: qc, value, lon, depth\n Sensor: frost | fields: lat, level, unit, value\nTask: Get lon from lightning where a corresponding entry exists in frost with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001065", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: qc, depth, ts, unit\n Sensor: wind_speed | fields: qc, type, lon, lat\nTask: Fetch lon from temperature where qc exists in wind_speed sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001066", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: value, reading, level, qc\n Sensor: temperature | fields: qc, ts, reading, unit\nTask: Retrieve level from rainfall that have at least one matching reading in temperature sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001067", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lon, lat, level, type\n Sensor: rainfall | fields: qc, depth, lon, reading\nTask: Fetch level from visibility where depth exists in rainfall sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001068", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: reading, lat, ts, value\n Sensor: humidity | fields: level, value, lat, reading\nTask: Retrieve level from air_quality with reading above the SUM(value) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"humidity\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001069", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: reading, lon, qc, value\n Sensor: rainfall | fields: qc, level, reading, type\nTask: Get depth from soil_moisture where reading exceeds the count of value from rainfall for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"rainfall\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001070", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lon, qc, level, unit\n Sensor: wind_speed | fields: depth, lat, type, qc\nTask: Get level from pressure where a corresponding entry exists in wind_speed with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001071", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: reading, ts, level, unit\n Sensor: lightning | fields: reading, lat, value, qc\nTask: Retrieve lon from snow_depth that have at least one matching reading in lightning sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lon", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001072", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: value, lat, qc, unit\n Sensor: pressure | fields: qc, ts, lon, value\nTask: Retrieve value from dew_point whose depth is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001073", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: unit, qc, ts, value\n Sensor: turbidity | fields: qc, lat, reading, value\nTask: Fetch value from air_quality where ts exists in turbidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001074", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: depth, lat, value, ts\n Sensor: frost | fields: type, level, lat, ts\nTask: Retrieve lat from pressure that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001075", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: unit, depth, reading, qc\n Sensor: frost | fields: level, lat, unit, lon\nTask: Get reading from cloud_cover where value exceeds the minimum value from frost for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"frost\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001076", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: unit, type, qc, ts\n Sensor: lightning | fields: lon, unit, type, depth\nTask: Get level from uv_index where a corresponding entry exists in lightning with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001077", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: lat, reading, level, qc\n Sensor: soil_moisture | fields: depth, type, value, unit\nTask: Retrieve lat from humidity with value above the MAX(reading) of soil_moisture readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001078", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: value, ts, qc, reading\n Sensor: snow_depth | fields: qc, value, type, depth\nTask: Retrieve depth from pressure that have at least one matching reading in snow_depth sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001079", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: reading, unit, level, depth\n Sensor: air_quality | fields: unit, value, depth, ts\nTask: Retrieve depth from temperature that have at least one matching reading in air_quality sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001080", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lon, value, type, reading\n Sensor: turbidity | fields: type, lat, value, qc\nTask: Fetch value from wind_speed that have at least one corresponding turbidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "value", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001081", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: unit, type, lon, qc\n Sensor: rainfall | fields: value, lat, reading, depth\nTask: Retrieve depth from visibility that have at least one matching reading in rainfall sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001082", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: depth, reading, qc, lat\n Sensor: wind_speed | fields: depth, value, qc, reading\nTask: Fetch depth from cloud_cover where value is greater than the average of depth in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001083", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: level, lat, value, ts\n Sensor: pressure | fields: unit, ts, lon, lat\nTask: Get lat from turbidity where a corresponding entry exists in pressure with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001084", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: unit, reading, lon, qc\n Sensor: drought_index | fields: level, depth, lat, qc\nTask: Fetch reading from frost where value is greater than the total of reading in drought_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001085", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: value, depth, unit, qc\n Sensor: drought_index | fields: lat, ts, qc, value\nTask: Fetch lon from snow_depth that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001086", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: ts, unit, value, type\n Sensor: drought_index | fields: value, lon, ts, reading\nTask: Retrieve lon from air_quality whose type is found in drought_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001087", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: ts, qc, value, lat\n Sensor: visibility | fields: value, type, depth, reading\nTask: Fetch lat from temperature that have at least one corresponding visibility measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001088", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: ts, depth, lon, type\n Sensor: pressure | fields: reading, unit, ts, depth\nTask: Fetch level from uv_index where depth is greater than the maximum of depth in pressure for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"pressure\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001089", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lon, reading, level, qc\n Sensor: evaporation | fields: reading, value, lat, ts\nTask: Get lon from drought_index where a corresponding entry exists in evaporation with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001090", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: value, lon, reading, type\n Sensor: air_quality | fields: unit, lat, ts, type\nTask: Fetch reading from temperature that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001091", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: reading, lat, value, level\n Sensor: drought_index | fields: lon, value, unit, ts\nTask: Retrieve level from rainfall that have at least one matching reading in drought_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001092", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: level, depth, qc, value\n Sensor: rainfall | fields: depth, lat, lon, type\nTask: Get reading from air_quality where a corresponding entry exists in rainfall with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001093", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: qc, lon, value, level\n Sensor: wind_speed | fields: lat, level, depth, value\nTask: Get lat from rainfall where depth exceeds the total value from wind_speed for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001094", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: type, reading, level, lat\n Sensor: lightning | fields: value, level, type, lon\nTask: Get level from rainfall where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001095", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: value, lon, reading, unit\n Sensor: wind_speed | fields: type, reading, unit, depth\nTask: Get depth from visibility where type appears in wind_speed readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001096", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: type, lon, reading, ts\n Sensor: temperature | fields: value, level, type, reading\nTask: Get lat from sunlight where a corresponding entry exists in temperature with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001097", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: depth, ts, qc, lat\n Sensor: drought_index | fields: type, level, depth, unit\nTask: Retrieve value from wind_speed that have at least one matching reading in drought_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "value", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001098", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: level, ts, unit, type\n Sensor: dew_point | fields: reading, type, unit, value\nTask: Fetch reading from soil_moisture where depth is greater than the total of reading in dew_point for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"dew_point\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001099", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: type, qc, lat, reading\n Sensor: humidity | fields: depth, lat, value, level\nTask: Fetch depth from frost that have at least one corresponding humidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001100", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: type, ts, reading, lat\n Sensor: uv_index | fields: lat, reading, qc, lon\nTask: Fetch lon from cloud_cover where qc exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001101", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: level, depth, type, ts\n Sensor: soil_moisture | fields: unit, depth, reading, value\nTask: Get lat from cloud_cover where a corresponding entry exists in soil_moisture with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001102", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: reading, lon, level, qc\n Sensor: visibility | fields: qc, level, lon, depth\nTask: Fetch value from sunlight that have at least one corresponding visibility measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001103", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: reading, lat, type, depth\n Sensor: air_quality | fields: lon, value, type, unit\nTask: Get level from dew_point where a corresponding entry exists in air_quality with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "level", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001104", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: type, lon, value, unit\n Sensor: temperature | fields: lon, lat, qc, level\nTask: Retrieve depth from visibility with depth above the SUM(reading) of temperature readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001105", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: qc, depth, value, level\n Sensor: evaporation | fields: depth, lon, lat, ts\nTask: Fetch reading from cloud_cover where qc exists in evaporation sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001106", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: type, reading, level, ts\n Sensor: humidity | fields: unit, lon, lat, depth\nTask: Get reading from drought_index where a corresponding entry exists in humidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001107", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: level, type, unit, qc\n Sensor: lightning | fields: lon, qc, depth, value\nTask: Retrieve value from temperature whose qc is found in lightning records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001108", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: type, ts, depth, lat\n Sensor: frost | fields: type, reading, lon, qc\nTask: Fetch lat from temperature where qc exists in frost sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001109", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lon, level, qc, depth\n Sensor: visibility | fields: value, lon, ts, level\nTask: Retrieve level from uv_index with reading above the MIN(value) of visibility readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"visibility\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001110", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: lon, type, depth, level\n Sensor: wind_speed | fields: reading, level, type, lat\nTask: Retrieve value from lightning with reading above the SUM(reading) of wind_speed readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001111", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: unit, depth, ts, value\n Sensor: temperature | fields: reading, qc, level, unit\nTask: Fetch lon from turbidity where reading is greater than the minimum of depth in temperature for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"temperature\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001112", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: type, qc, depth, lon\n Sensor: temperature | fields: type, lon, lat, qc\nTask: Fetch lat from visibility that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lat", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001113", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: reading, lat, lon, type\n Sensor: humidity | fields: lon, depth, ts, type\nTask: Retrieve reading from rainfall that have at least one matching reading in humidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001114", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: value, ts, depth, qc\n Sensor: rainfall | fields: level, reading, depth, type\nTask: Get level from drought_index where reading exceeds the average value from rainfall for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"rainfall\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001115", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: qc, depth, value, level\n Sensor: temperature | fields: type, unit, lat, level\nTask: Get depth from air_quality where depth appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001116", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lon, level, depth, value\n Sensor: frost | fields: type, ts, value, lat\nTask: Retrieve value from turbidity that have at least one matching reading in frost sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001117", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: level, unit, qc, ts\n Sensor: snow_depth | fields: ts, qc, value, level\nTask: Fetch reading from dew_point that have at least one corresponding snow_depth measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "reading", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001118", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: type, lon, depth, lat\n Sensor: rainfall | fields: reading, level, type, ts\nTask: Retrieve lon from humidity with value above the SUM(reading) of rainfall readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"rainfall\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001119", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: reading, ts, value, depth\n Sensor: pressure | fields: ts, level, type, lat\nTask: Get lon from turbidity where qc appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001120", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: qc, depth, ts, type\n Sensor: visibility | fields: reading, lon, level, ts\nTask: Get value from frost where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001121", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: depth, reading, unit, lon\n Sensor: air_quality | fields: type, value, reading, lon\nTask: Fetch reading from uv_index where depth is greater than the minimum of reading in air_quality for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001122", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: lat, depth, reading, unit\n Sensor: lightning | fields: lat, lon, ts, depth\nTask: Retrieve depth from drought_index with value above the COUNT(depth) of lightning readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"lightning\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001123", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: reading, unit, lat, ts\n Sensor: evaporation | fields: qc, lat, type, level\nTask: Get lon from lightning where a corresponding entry exists in evaporation with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001124", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: value, reading, type, ts\n Sensor: snow_depth | fields: reading, level, lon, type\nTask: Get lat from humidity where a corresponding entry exists in snow_depth with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lat", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001125", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: type, level, lon, reading\n Sensor: turbidity | fields: value, type, ts, unit\nTask: Get lat from pressure where value exceeds the average reading from turbidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"turbidity\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001126", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: ts, qc, level, type\n Sensor: evaporation | fields: reading, lat, qc, level\nTask: Retrieve level from pressure that have at least one matching reading in evaporation sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001127", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: lat, type, level, ts\n Sensor: wind_speed | fields: reading, type, unit, lat\nTask: Fetch lat from frost where depth is greater than the total of value in wind_speed for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001128", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: level, reading, ts, depth\n Sensor: uv_index | fields: unit, level, ts, depth\nTask: Get depth from temperature where a corresponding entry exists in uv_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001129", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: ts, unit, value, depth\n Sensor: snow_depth | fields: lat, depth, reading, ts\nTask: Retrieve lon from turbidity whose qc is found in snow_depth records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001130", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: unit, value, level, lat\n Sensor: uv_index | fields: qc, reading, lon, lat\nTask: Fetch value from visibility where ts exists in uv_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001131", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: level, qc, unit, type\n Sensor: frost | fields: reading, type, depth, lat\nTask: Fetch reading from wind_speed that have at least one corresponding frost measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001132", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: unit, level, depth, reading\n Sensor: turbidity | fields: reading, type, unit, qc\nTask: Get reading from frost where a corresponding entry exists in turbidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001133", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: level, unit, depth, reading\n Sensor: sunlight | fields: level, ts, lat, unit\nTask: Get value from snow_depth where a corresponding entry exists in sunlight with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "value", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001134", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: lat, value, type, level\n Sensor: lightning | fields: reading, value, lon, level\nTask: Retrieve level from turbidity that have at least one matching reading in lightning sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001135", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: lat, ts, type, unit\n Sensor: visibility | fields: depth, level, ts, unit\nTask: Retrieve lat from air_quality with value above the AVG(reading) of visibility readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"visibility\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001136", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: ts, value, qc, lat\n Sensor: soil_moisture | fields: ts, depth, lon, type\nTask: Retrieve value from snow_depth with depth above the AVG(value) of soil_moisture readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001137", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: depth, reading, qc, lon\n Sensor: pressure | fields: reading, qc, lon, unit\nTask: Get lat from snow_depth where ts appears in pressure readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001138", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lat, value, level, qc\n Sensor: drought_index | fields: level, type, value, lon\nTask: Fetch value from lightning where depth is greater than the minimum of depth in drought_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"drought_index\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001139", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: reading, value, qc, depth\n Sensor: air_quality | fields: type, unit, depth, ts\nTask: Retrieve depth from soil_moisture that have at least one matching reading in air_quality sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001140", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: depth, ts, lon, unit\n Sensor: snow_depth | fields: ts, reading, depth, lon\nTask: Fetch depth from soil_moisture where reading is greater than the maximum of depth in snow_depth for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"snow_depth\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001141", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: value, reading, lon, depth\n Sensor: lightning | fields: type, unit, depth, value\nTask: Retrieve lon from sunlight whose type is found in lightning records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001142", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: qc, lat, ts, reading\n Sensor: visibility | fields: ts, lon, level, value\nTask: Get value from sunlight where ts appears in visibility readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001143", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: depth, unit, value, lat\n Sensor: uv_index | fields: reading, type, level, ts\nTask: Retrieve lon from rainfall with depth above the MIN(reading) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001144", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: type, qc, depth, lon\n Sensor: evaporation | fields: depth, qc, lon, lat\nTask: Get value from turbidity where a corresponding entry exists in evaporation with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001145", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: ts, level, qc, value\n Sensor: rainfall | fields: ts, lat, unit, qc\nTask: Get lat from visibility where depth appears in rainfall readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001146", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: qc, value, type, lon\n Sensor: air_quality | fields: ts, depth, level, type\nTask: Retrieve lat from sunlight whose unit is found in air_quality records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001147", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: depth, level, value, qc\n Sensor: visibility | fields: ts, unit, lat, qc\nTask: Retrieve reading from lightning with reading above the AVG(value) of visibility readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"visibility\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001148", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lon, qc, ts, depth\n Sensor: sunlight | fields: unit, lat, type, depth\nTask: Get level from rainfall where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001149", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: type, reading, lat, value\n Sensor: air_quality | fields: value, level, unit, ts\nTask: Retrieve level from turbidity with reading above the MAX(depth) of air_quality readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"air_quality\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001150", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: lat, depth, value, lon\n Sensor: humidity | fields: unit, lat, value, depth\nTask: Fetch lon from temperature that have at least one corresponding humidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001151", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: level, depth, lat, ts\n Sensor: evaporation | fields: value, ts, depth, level\nTask: Get reading from temperature where a corresponding entry exists in evaporation with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001152", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: qc, depth, lat, level\n Sensor: drought_index | fields: ts, unit, level, lon\nTask: Retrieve reading from wind_speed whose unit is found in drought_index records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001153", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: qc, ts, type, depth\n Sensor: dew_point | fields: depth, lat, ts, type\nTask: Retrieve level from snow_depth with reading above the SUM(reading) of dew_point readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"dew_point\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001154", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lon, reading, qc, level\n Sensor: frost | fields: value, lon, lat, reading\nTask: Get lon from dew_point where depth exceeds the total value from frost for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"frost\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001155", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: unit, lon, depth, reading\n Sensor: pressure | fields: qc, ts, lon, depth\nTask: Retrieve lat from evaporation that have at least one matching reading in pressure sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lat", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001156", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: lat, type, qc, ts\n Sensor: drought_index | fields: unit, qc, reading, value\nTask: Fetch value from cloud_cover that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001157", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: qc, type, unit, lon\n Sensor: temperature | fields: level, reading, ts, depth\nTask: Get depth from uv_index where a corresponding entry exists in temperature with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001158", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: depth, level, lat, value\n Sensor: wind_speed | fields: value, depth, unit, reading\nTask: Fetch level from cloud_cover that have at least one corresponding wind_speed measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001159", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: unit, depth, ts, lat\n Sensor: cloud_cover | fields: lon, reading, unit, value\nTask: Retrieve level from temperature with reading above the SUM(depth) of cloud_cover readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001160", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lat, depth, type, reading\n Sensor: frost | fields: lon, depth, unit, lat\nTask: Fetch level from air_quality that have at least one corresponding frost measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001161", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: value, reading, unit, lon\n Sensor: evaporation | fields: reading, level, value, lon\nTask: Get lon from cloud_cover where value exceeds the average reading from evaporation for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001162", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: type, ts, level, lat\n Sensor: rainfall | fields: type, value, unit, ts\nTask: Fetch value from pressure that have at least one corresponding rainfall measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "value", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001163", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: value, level, unit, type\n Sensor: cloud_cover | fields: value, type, lat, ts\nTask: Retrieve lat from pressure with value above the COUNT(depth) of cloud_cover readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001164", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: lon, lat, type, ts\n Sensor: humidity | fields: reading, unit, qc, value\nTask: Get lon from frost where value exceeds the minimum value from humidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"humidity\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001165", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: ts, reading, level, depth\n Sensor: soil_moisture | fields: ts, unit, type, level\nTask: Get value from temperature where type appears in soil_moisture readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001166", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lat, type, ts, value\n Sensor: uv_index | fields: unit, type, reading, lat\nTask: Fetch depth from soil_moisture where reading is greater than the maximum of reading in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"uv_index\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001167", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: lon, ts, type, unit\n Sensor: cloud_cover | fields: unit, value, lat, qc\nTask: Retrieve reading from sunlight whose ts is found in cloud_cover records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001168", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: unit, value, lon, reading\n Sensor: cloud_cover | fields: value, lat, type, unit\nTask: Get lon from pressure where type appears in cloud_cover readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001169", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: reading, lat, depth, value\n Sensor: snow_depth | fields: depth, value, lat, unit\nTask: Retrieve reading from rainfall that have at least one matching reading in snow_depth sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "reading", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001170", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: ts, reading, lat, value\n Sensor: air_quality | fields: level, depth, value, qc\nTask: Fetch level from sunlight where depth exists in air_quality sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001171", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: value, qc, type, reading\n Sensor: drought_index | fields: value, type, unit, level\nTask: Retrieve reading from humidity with value above the MIN(reading) of drought_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"drought_index\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001172", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: level, qc, lon, type\n Sensor: sunlight | fields: lon, unit, ts, lat\nTask: Get value from air_quality where depth appears in sunlight readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001173", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lon, lat, unit, ts\n Sensor: wind_speed | fields: type, lat, level, qc\nTask: Fetch lat from dew_point where depth is greater than the total of value in wind_speed for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001174", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: qc, reading, value, lat\n Sensor: snow_depth | fields: lon, ts, reading, value\nTask: Get lon from sunlight where type appears in snow_depth readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001175", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: reading, lon, value, depth\n Sensor: humidity | fields: qc, unit, lat, depth\nTask: Retrieve value from rainfall whose ts is found in humidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001176", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: lat, type, ts, reading\n Sensor: soil_moisture | fields: type, unit, qc, lat\nTask: Retrieve lat from drought_index whose ts is found in soil_moisture records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001177", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: unit, lat, depth, ts\n Sensor: evaporation | fields: level, qc, lon, value\nTask: Retrieve lat from dew_point that have at least one matching reading in evaporation sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001178", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: reading, type, qc, lat\n Sensor: lightning | fields: unit, reading, lon, type\nTask: Retrieve level from wind_speed whose unit is found in lightning records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001179", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: qc, reading, lon, value\n Sensor: humidity | fields: unit, value, depth, type\nTask: Fetch reading from wind_speed that have at least one corresponding humidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "reading", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001180", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: ts, lon, reading, level\n Sensor: frost | fields: unit, type, qc, level\nTask: Retrieve depth from air_quality whose type is found in frost records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001181", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: qc, level, type, reading\n Sensor: drought_index | fields: level, qc, depth, unit\nTask: Fetch value from temperature where type exists in drought_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001182", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: qc, lat, type, depth\n Sensor: cloud_cover | fields: level, type, qc, depth\nTask: Fetch level from dew_point where unit exists in cloud_cover sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001183", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lat, type, level, unit\n Sensor: visibility | fields: depth, qc, type, reading\nTask: Retrieve depth from rainfall that have at least one matching reading in visibility sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001184", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: reading, lat, lon, qc\n Sensor: uv_index | fields: lon, ts, depth, lat\nTask: Retrieve lat from soil_moisture that have at least one matching reading in uv_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lat", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001185", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lat, level, qc, value\n Sensor: temperature | fields: unit, reading, ts, value\nTask: Get value from sunlight where reading exceeds the total value from temperature for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"temperature\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001186", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: qc, depth, level, reading\n Sensor: drought_index | fields: reading, value, depth, type\nTask: Get level from soil_moisture where depth exceeds the count of value from drought_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"drought_index\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001187", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: type, depth, level, unit\n Sensor: soil_moisture | fields: type, lon, lat, depth\nTask: Retrieve depth from uv_index with value above the SUM(depth) of soil_moisture readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001188", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lon, value, type, reading\n Sensor: drought_index | fields: type, lon, reading, unit\nTask: Get level from humidity where a corresponding entry exists in drought_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001189", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: lat, unit, value, reading\n Sensor: visibility | fields: lon, qc, lat, depth\nTask: Retrieve depth from frost with reading above the MAX(reading) of visibility readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"visibility\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001190", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: ts, depth, lat, level\n Sensor: visibility | fields: lon, lat, unit, qc\nTask: Fetch value from frost that have at least one corresponding visibility measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001191", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: unit, value, qc, type\n Sensor: pressure | fields: reading, lon, type, unit\nTask: Get lon from turbidity where a corresponding entry exists in pressure with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001192", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: level, value, lon, unit\n Sensor: evaporation | fields: ts, type, lat, depth\nTask: Fetch reading from frost where depth exists in evaporation sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001193", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: lon, ts, qc, unit\n Sensor: temperature | fields: lon, type, value, qc\nTask: Get lat from frost where depth exceeds the total reading from temperature for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001194", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: qc, unit, ts, type\n Sensor: air_quality | fields: qc, value, level, reading\nTask: Fetch depth from lightning where type exists in air_quality sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001195", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: qc, type, ts, lat\n Sensor: air_quality | fields: lon, value, lat, reading\nTask: Retrieve depth from cloud_cover with reading above the MAX(value) of air_quality readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"air_quality\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001196", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: type, lat, level, depth\n Sensor: humidity | fields: level, type, lat, unit\nTask: Fetch reading from snow_depth where unit exists in humidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001197", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: qc, type, ts, value\n Sensor: dew_point | fields: level, unit, lon, qc\nTask: Retrieve reading from rainfall that have at least one matching reading in dew_point sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001198", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: ts, value, qc, unit\n Sensor: evaporation | fields: lon, reading, qc, lat\nTask: Fetch value from pressure where depth is greater than the maximum of reading in evaporation for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001199", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lat, type, lon, level\n Sensor: frost | fields: qc, lat, value, unit\nTask: Retrieve lon from humidity with depth above the SUM(depth) of frost readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"frost\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001200", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: type, ts, qc, value\n Sensor: temperature | fields: unit, value, depth, qc\nTask: Retrieve lon from evaporation with reading above the MIN(reading) of temperature readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"temperature\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001201", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: lat, unit, value, ts\n Sensor: snow_depth | fields: depth, level, ts, unit\nTask: Retrieve depth from lightning whose ts is found in snow_depth records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001202", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: level, depth, qc, value\n Sensor: sunlight | fields: qc, depth, level, ts\nTask: Retrieve depth from soil_moisture that have at least one matching reading in sunlight sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001203", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: unit, reading, lat, value\n Sensor: cloud_cover | fields: reading, level, depth, unit\nTask: Retrieve lon from sunlight whose qc is found in cloud_cover records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001204", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: level, lon, value, ts\n Sensor: sunlight | fields: level, qc, depth, unit\nTask: Retrieve reading from cloud_cover that have at least one matching reading in sunlight sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001205", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: unit, type, level, value\n Sensor: soil_moisture | fields: type, level, qc, lon\nTask: Fetch lat from dew_point that have at least one corresponding soil_moisture measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001206", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: lon, type, value, lat\n Sensor: cloud_cover | fields: type, qc, lon, value\nTask: Fetch lat from lightning where reading is greater than the count of of value in cloud_cover for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"cloud_cover\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001207", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: type, unit, qc, reading\n Sensor: dew_point | fields: type, reading, lat, level\nTask: Retrieve value from cloud_cover whose ts is found in dew_point records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001208", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: ts, value, lon, unit\n Sensor: rainfall | fields: unit, reading, ts, lat\nTask: Get depth from frost where reading exceeds the minimum reading from rainfall for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"rainfall\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001209", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: depth, reading, value, ts\n Sensor: snow_depth | fields: lat, depth, unit, ts\nTask: Get lat from humidity where depth exceeds the average reading from snow_depth for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"snow_depth\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001210", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lon, depth, lat, qc\n Sensor: cloud_cover | fields: ts, type, level, value\nTask: Fetch level from turbidity that have at least one corresponding cloud_cover measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "level", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001211", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: ts, unit, lat, reading\n Sensor: humidity | fields: qc, level, ts, reading\nTask: Get lat from drought_index where a corresponding entry exists in humidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "lat", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001212", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: level, reading, qc, ts\n Sensor: cloud_cover | fields: value, unit, level, reading\nTask: Fetch reading from lightning where reading is greater than the total of value in cloud_cover for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"cloud_cover\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001213", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lon, reading, ts, level\n Sensor: pressure | fields: level, lon, qc, lat\nTask: Retrieve lon from rainfall that have at least one matching reading in pressure sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001214", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: level, qc, lon, reading\n Sensor: turbidity | fields: lat, ts, type, qc\nTask: Fetch value from air_quality that have at least one corresponding turbidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001215", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: level, value, qc, depth\n Sensor: turbidity | fields: qc, reading, type, depth\nTask: Retrieve reading from temperature whose ts is found in turbidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001216", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: level, qc, depth, type\n Sensor: turbidity | fields: reading, unit, type, level\nTask: Retrieve value from evaporation with depth above the AVG(value) of turbidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"turbidity\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001217", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: lon, level, qc, unit\n Sensor: sunlight | fields: reading, lat, ts, unit\nTask: Fetch level from humidity where depth is greater than the minimum of reading in sunlight for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"sunlight\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001218", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: level, unit, lat, reading\n Sensor: pressure | fields: depth, qc, lat, reading\nTask: Fetch depth from drought_index where qc exists in pressure sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001219", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: value, ts, depth, unit\n Sensor: air_quality | fields: type, ts, unit, lon\nTask: Retrieve lat from snow_depth with value above the SUM(value) of air_quality readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001220", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lat, qc, lon, reading\n Sensor: dew_point | fields: lon, depth, reading, lat\nTask: Retrieve depth from air_quality that have at least one matching reading in dew_point sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001221", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: qc, lon, type, ts\n Sensor: lightning | fields: unit, ts, level, lon\nTask: Get level from pressure where type appears in lightning readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001222", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: unit, lon, qc, reading\n Sensor: dew_point | fields: qc, unit, lon, type\nTask: Fetch reading from humidity where reading is greater than the maximum of value in dew_point for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001223", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: lat, value, type, lon\n Sensor: turbidity | fields: lat, type, qc, value\nTask: Get level from drought_index where value exceeds the total reading from turbidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"turbidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001224", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: reading, depth, level, ts\n Sensor: dew_point | fields: lat, unit, lon, value\nTask: Retrieve lon from uv_index whose type is found in dew_point records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001225", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: unit, qc, depth, level\n Sensor: uv_index | fields: value, reading, unit, level\nTask: Get lat from sunlight where a corresponding entry exists in uv_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lat", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001226", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: type, qc, depth, value\n Sensor: temperature | fields: unit, level, qc, ts\nTask: Fetch depth from dew_point where type exists in temperature sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001227", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: ts, unit, type, reading\n Sensor: sunlight | fields: lon, reading, lat, type\nTask: Get reading from evaporation where qc appears in sunlight readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001228", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: ts, value, unit, depth\n Sensor: uv_index | fields: lat, lon, type, reading\nTask: Retrieve level from drought_index that have at least one matching reading in uv_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001229", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: value, lat, type, unit\n Sensor: dew_point | fields: lat, depth, ts, reading\nTask: Retrieve lon from air_quality with reading above the AVG(depth) of dew_point readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"dew_point\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001230", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: lon, ts, unit, type\n Sensor: dew_point | fields: ts, level, qc, value\nTask: Fetch reading from visibility that have at least one corresponding dew_point measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001231", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: qc, reading, type, value\n Sensor: rainfall | fields: lon, lat, level, qc\nTask: Fetch value from soil_moisture where value is greater than the count of of value in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"rainfall\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001232", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: ts, lat, value, qc\n Sensor: sunlight | fields: depth, level, reading, ts\nTask: Fetch reading from rainfall where type exists in sunlight sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001233", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: unit, lon, value, type\n Sensor: humidity | fields: value, ts, lat, depth\nTask: Get lon from rainfall where type appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001234", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lat, level, unit, type\n Sensor: pressure | fields: value, type, qc, ts\nTask: Retrieve lat from sunlight with depth above the MAX(depth) of pressure readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"pressure\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001235", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: value, reading, ts, qc\n Sensor: cloud_cover | fields: reading, depth, unit, ts\nTask: Get lon from visibility where a corresponding entry exists in cloud_cover with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lon", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001236", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: qc, unit, reading, ts\n Sensor: drought_index | fields: type, value, qc, ts\nTask: Retrieve depth from evaporation whose unit is found in drought_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001237", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: unit, value, reading, lat\n Sensor: soil_moisture | fields: qc, unit, depth, ts\nTask: Get lat from sunlight where depth appears in soil_moisture readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001238", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: qc, type, reading, ts\n Sensor: pressure | fields: level, lat, lon, qc\nTask: Get level from snow_depth where a corresponding entry exists in pressure with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001239", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: reading, lat, level, depth\n Sensor: snow_depth | fields: reading, depth, unit, lat\nTask: Fetch value from turbidity where unit exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001240", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: depth, qc, unit, reading\n Sensor: turbidity | fields: ts, lat, level, type\nTask: Get level from frost where reading exceeds the count of reading from turbidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001241", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: unit, type, value, reading\n Sensor: temperature | fields: type, qc, lon, value\nTask: Retrieve reading from snow_depth that have at least one matching reading in temperature sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001242", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: qc, value, depth, reading\n Sensor: turbidity | fields: lon, level, value, reading\nTask: Retrieve value from lightning with reading above the MIN(value) of turbidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"turbidity\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001243", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: reading, lat, value, depth\n Sensor: drought_index | fields: lon, value, type, depth\nTask: Fetch lat from sunlight where value is greater than the maximum of value in drought_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"drought_index\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001244", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: level, type, qc, lon\n Sensor: evaporation | fields: lat, depth, lon, type\nTask: Fetch lon from humidity where value is greater than the total of value in evaporation for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"evaporation\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001245", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: unit, depth, lat, qc\n Sensor: lightning | fields: qc, value, unit, depth\nTask: Get depth from humidity where value exceeds the minimum value from lightning for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"lightning\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001246", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: qc, depth, lat, lon\n Sensor: soil_moisture | fields: qc, ts, depth, reading\nTask: Fetch lon from frost that have at least one corresponding soil_moisture measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001247", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: lon, lat, type, unit\n Sensor: turbidity | fields: unit, qc, ts, lon\nTask: Get depth from soil_moisture where a corresponding entry exists in turbidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001248", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: type, unit, level, lon\n Sensor: snow_depth | fields: level, ts, lon, unit\nTask: Get depth from wind_speed where reading exceeds the average value from snow_depth for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"snow_depth\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001249", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: type, reading, lat, value\n Sensor: humidity | fields: lon, type, lat, depth\nTask: Retrieve level from temperature whose ts is found in humidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001250", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: reading, type, level, ts\n Sensor: snow_depth | fields: type, ts, qc, reading\nTask: Retrieve reading from turbidity whose ts is found in snow_depth records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001251", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: lat, level, type, unit\n Sensor: lightning | fields: depth, value, level, qc\nTask: Get depth from uv_index where unit appears in lightning readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001252", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: unit, lon, qc, lat\n Sensor: turbidity | fields: lat, level, qc, lon\nTask: Get level from sunlight where depth exceeds the minimum value from turbidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001253", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: type, value, qc, unit\n Sensor: turbidity | fields: depth, lat, reading, level\nTask: Get level from sunlight where unit appears in turbidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001254", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: type, lat, qc, depth\n Sensor: uv_index | fields: value, reading, unit, level\nTask: Get lon from humidity where value exceeds the total reading from uv_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"uv_index\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001255", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: depth, reading, lon, ts\n Sensor: wind_speed | fields: lat, unit, value, depth\nTask: Get lat from soil_moisture where reading exceeds the total depth from wind_speed for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001256", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: unit, qc, depth, reading\n Sensor: dew_point | fields: ts, value, unit, reading\nTask: Fetch value from turbidity where qc exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001257", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: depth, value, unit, lat\n Sensor: humidity | fields: value, depth, qc, lon\nTask: Fetch lon from cloud_cover where value is greater than the maximum of value in humidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"humidity\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001258", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: unit, depth, type, ts\n Sensor: visibility | fields: unit, reading, qc, type\nTask: Retrieve lon from air_quality whose unit is found in visibility records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001259", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: value, type, unit, depth\n Sensor: cloud_cover | fields: qc, type, unit, reading\nTask: Fetch lon from air_quality where reading is greater than the total of depth in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001260", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: lat, level, value, reading\n Sensor: wind_speed | fields: lon, depth, reading, value\nTask: Fetch value from rainfall that have at least one corresponding wind_speed measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001261", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: level, lat, qc, lon\n Sensor: frost | fields: ts, qc, unit, type\nTask: Fetch level from evaporation that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001262", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lon, value, lat, qc\n Sensor: temperature | fields: qc, depth, unit, reading\nTask: Fetch lat from frost that have at least one corresponding temperature measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001263", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: type, value, ts, level\n Sensor: pressure | fields: unit, lat, lon, qc\nTask: Get lon from dew_point where a corresponding entry exists in pressure with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001264", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lat, reading, depth, type\n Sensor: drought_index | fields: reading, value, unit, qc\nTask: Get level from humidity where reading exceeds the maximum value from drought_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"drought_index\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001265", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: reading, type, lat, depth\n Sensor: soil_moisture | fields: qc, value, unit, depth\nTask: Fetch reading from pressure where ts exists in soil_moisture sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "reading", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001266", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: lon, reading, unit, qc\n Sensor: soil_moisture | fields: depth, lon, lat, reading\nTask: Get lat from cloud_cover where value exceeds the total reading from soil_moisture for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001267", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: lon, qc, level, value\n Sensor: air_quality | fields: lat, lon, depth, unit\nTask: Retrieve level from lightning with depth above the AVG(depth) of air_quality readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001268", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: depth, ts, lat, reading\n Sensor: sunlight | fields: value, ts, reading, lat\nTask: Get depth from pressure where reading exceeds the maximum depth from sunlight for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"sunlight\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001269", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: unit, lon, qc, lat\n Sensor: frost | fields: type, lat, lon, ts\nTask: Fetch value from turbidity where reading is greater than the average of value in frost for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"frost\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001270", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: value, unit, lon, level\n Sensor: pressure | fields: reading, unit, level, ts\nTask: Fetch reading from wind_speed that have at least one corresponding pressure measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001271", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: value, level, unit, lat\n Sensor: drought_index | fields: ts, qc, reading, lon\nTask: Retrieve depth from air_quality with depth above the AVG(depth) of drought_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"drought_index\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001272", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: qc, depth, level, value\n Sensor: drought_index | fields: depth, type, lon, ts\nTask: Get lat from wind_speed where unit appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001273", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: level, lon, lat, type\n Sensor: soil_moisture | fields: ts, level, type, unit\nTask: Fetch value from dew_point where unit exists in soil_moisture sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001274", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: reading, type, value, lat\n Sensor: air_quality | fields: qc, lon, type, value\nTask: Get level from turbidity where a corresponding entry exists in air_quality with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001275", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lat, depth, ts, unit\n Sensor: temperature | fields: reading, ts, lon, unit\nTask: Fetch reading from turbidity where depth exists in temperature sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001276", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: level, ts, lon, value\n Sensor: lightning | fields: depth, lat, value, level\nTask: Retrieve depth from rainfall whose type is found in lightning records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001277", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lon, depth, ts, value\n Sensor: temperature | fields: ts, unit, qc, depth\nTask: Fetch reading from cloud_cover where value is greater than the total of reading in temperature for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001278", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: unit, level, reading, value\n Sensor: rainfall | fields: value, reading, lon, lat\nTask: Get level from visibility where ts appears in rainfall readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001279", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: value, unit, level, ts\n Sensor: dew_point | fields: value, lat, lon, type\nTask: Fetch lon from uv_index that have at least one corresponding dew_point measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001280", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: type, level, reading, ts\n Sensor: cloud_cover | fields: qc, value, unit, lat\nTask: Retrieve level from drought_index whose depth is found in cloud_cover records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001281", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: reading, type, depth, unit\n Sensor: frost | fields: reading, depth, lat, qc\nTask: Retrieve lat from drought_index with depth above the MAX(reading) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"frost\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001282", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lat, value, lon, depth\n Sensor: dew_point | fields: ts, depth, reading, lon\nTask: Retrieve lon from wind_speed with reading above the COUNT(reading) of dew_point readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001283", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: qc, depth, reading, lat\n Sensor: pressure | fields: unit, reading, level, ts\nTask: Get lon from wind_speed where depth appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001284", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: unit, qc, level, depth\n Sensor: cloud_cover | fields: lon, lat, unit, ts\nTask: Fetch value from uv_index where value is greater than the count of of depth in cloud_cover for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001285", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: unit, lon, level, type\n Sensor: humidity | fields: reading, type, lat, depth\nTask: Retrieve reading from sunlight with depth above the MAX(depth) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001286", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: level, unit, lon, ts\n Sensor: pressure | fields: type, lat, ts, unit\nTask: Get level from sunlight where depth exceeds the maximum depth from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"pressure\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001287", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: reading, level, lon, ts\n Sensor: humidity | fields: value, depth, type, level\nTask: Retrieve depth from visibility with reading above the SUM(reading) of humidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"humidity\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001288", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: unit, ts, qc, type\n Sensor: visibility | fields: depth, unit, value, qc\nTask: Retrieve lat from rainfall whose depth is found in visibility records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001289", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: qc, ts, reading, level\n Sensor: visibility | fields: unit, depth, type, reading\nTask: Retrieve value from wind_speed that have at least one matching reading in visibility sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001290", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: unit, lat, qc, depth\n Sensor: drought_index | fields: type, depth, level, value\nTask: Get level from frost where unit appears in drought_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001291", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: ts, reading, unit, value\n Sensor: air_quality | fields: lat, qc, ts, value\nTask: Retrieve depth from sunlight whose qc is found in air_quality records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001292", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lat, unit, type, level\n Sensor: lightning | fields: unit, lat, ts, depth\nTask: Get level from visibility where depth appears in lightning readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001293", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: level, qc, ts, type\n Sensor: visibility | fields: level, value, ts, lat\nTask: Fetch reading from air_quality that have at least one corresponding visibility measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "reading", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001294", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: reading, ts, depth, lon\n Sensor: drought_index | fields: value, type, ts, level\nTask: Retrieve depth from sunlight with reading above the AVG(depth) of drought_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"drought_index\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001295", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: lon, depth, value, reading\n Sensor: pressure | fields: lon, qc, value, level\nTask: Fetch reading from snow_depth where unit exists in pressure sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001296", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: level, ts, lat, type\n Sensor: temperature | fields: lon, level, unit, type\nTask: Get lat from soil_moisture where type appears in temperature readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001297", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: qc, depth, reading, level\n Sensor: air_quality | fields: value, lat, type, lon\nTask: Fetch level from sunlight where unit exists in air_quality sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001298", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: level, ts, lon, type\n Sensor: cloud_cover | fields: ts, value, depth, qc\nTask: Fetch lat from drought_index that have at least one corresponding cloud_cover measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001299", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: value, type, lat, reading\n Sensor: cloud_cover | fields: lon, value, qc, unit\nTask: Get value from visibility where value exceeds the maximum reading from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001300", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: type, lon, unit, reading\n Sensor: air_quality | fields: lat, ts, unit, type\nTask: Get lat from snow_depth where reading exceeds the minimum value from air_quality for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"air_quality\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001301", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: type, depth, level, unit\n Sensor: frost | fields: ts, depth, qc, value\nTask: Retrieve reading from evaporation that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001302", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: depth, lat, ts, reading\n Sensor: air_quality | fields: lat, unit, type, ts\nTask: Fetch value from dew_point where reading is greater than the maximum of value in air_quality for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"air_quality\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001303", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: value, ts, type, unit\n Sensor: cloud_cover | fields: lon, qc, type, unit\nTask: Fetch value from sunlight where value is greater than the maximum of value in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"cloud_cover\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001304", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: type, lon, reading, depth\n Sensor: humidity | fields: value, lat, level, type\nTask: Retrieve value from air_quality whose qc is found in humidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001305", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: qc, ts, unit, lon\n Sensor: lightning | fields: type, ts, reading, value\nTask: Fetch depth from sunlight that have at least one corresponding lightning measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001306", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: reading, unit, type, value\n Sensor: snow_depth | fields: ts, depth, value, lon\nTask: Fetch level from evaporation where reading is greater than the maximum of reading in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001307", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: value, qc, level, ts\n Sensor: cloud_cover | fields: qc, level, lat, type\nTask: Get reading from drought_index where depth appears in cloud_cover readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001308", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: value, depth, lat, reading\n Sensor: sunlight | fields: value, reading, unit, type\nTask: Get value from drought_index where reading exceeds the total value from sunlight for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"sunlight\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001309", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lat, depth, value, lon\n Sensor: evaporation | fields: type, lon, unit, ts\nTask: Fetch lat from visibility that have at least one corresponding evaporation measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lat", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001310", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: reading, level, depth, type\n Sensor: temperature | fields: value, type, reading, unit\nTask: Retrieve lon from soil_moisture that have at least one matching reading in temperature sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001311", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: lat, reading, level, value\n Sensor: frost | fields: type, depth, value, lon\nTask: Get level from snow_depth where type appears in frost readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001312", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: level, ts, value, lon\n Sensor: temperature | fields: lat, depth, value, level\nTask: Fetch lat from lightning where ts exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001313", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: depth, type, lon, value\n Sensor: uv_index | fields: level, reading, lat, ts\nTask: Retrieve lat from cloud_cover with value above the MIN(depth) of uv_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001314", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: type, lon, lat, unit\n Sensor: uv_index | fields: type, depth, level, lat\nTask: Fetch lon from frost where value is greater than the count of of value in uv_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"uv_index\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001315", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: unit, value, ts, type\n Sensor: cloud_cover | fields: depth, reading, value, lat\nTask: Fetch lon from lightning that have at least one corresponding cloud_cover measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001316", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: depth, ts, level, lat\n Sensor: air_quality | fields: lon, lat, qc, depth\nTask: Retrieve level from lightning that have at least one matching reading in air_quality sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "level", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001317", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: ts, lat, unit, type\n Sensor: pressure | fields: ts, reading, level, qc\nTask: Fetch reading from wind_speed where depth is greater than the minimum of depth in pressure for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"pressure\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001318", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: depth, lon, value, ts\n Sensor: dew_point | fields: depth, reading, lon, unit\nTask: Get level from evaporation where qc appears in dew_point readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001319", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: lat, reading, unit, value\n Sensor: temperature | fields: reading, type, unit, value\nTask: Get value from snow_depth where a corresponding entry exists in temperature with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001320", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: qc, level, lon, ts\n Sensor: humidity | fields: unit, type, depth, lon\nTask: Get lon from soil_moisture where qc appears in humidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001321", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: reading, level, lon, depth\n Sensor: drought_index | fields: lon, qc, unit, value\nTask: Fetch reading from temperature where depth exists in drought_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001322", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: depth, lon, unit, lat\n Sensor: uv_index | fields: ts, type, depth, reading\nTask: Get level from lightning where depth exceeds the total value from uv_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"uv_index\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001323", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: unit, ts, value, reading\n Sensor: humidity | fields: qc, ts, lon, lat\nTask: Fetch reading from dew_point where depth exists in humidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001324", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: qc, unit, lon, ts\n Sensor: uv_index | fields: value, reading, qc, lat\nTask: Fetch lat from wind_speed where depth exists in uv_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001325", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: depth, level, type, value\n Sensor: pressure | fields: lat, unit, value, ts\nTask: Retrieve depth from rainfall with value above the AVG(value) of pressure readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001326", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: lat, type, reading, depth\n Sensor: temperature | fields: value, ts, lat, unit\nTask: Retrieve value from pressure that have at least one matching reading in temperature sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "value", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001327", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: unit, depth, lon, level\n Sensor: temperature | fields: lon, ts, value, lat\nTask: Fetch value from soil_moisture where depth is greater than the minimum of reading in temperature for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"temperature\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001328", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: value, lon, ts, depth\n Sensor: temperature | fields: depth, unit, type, lat\nTask: Retrieve value from humidity with value above the SUM(reading) of temperature readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001329", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lat, reading, type, level\n Sensor: snow_depth | fields: level, value, depth, lat\nTask: Fetch reading from turbidity where depth is greater than the maximum of depth in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"snow_depth\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001330", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: unit, level, lat, type\n Sensor: frost | fields: lat, reading, type, value\nTask: Fetch reading from wind_speed that have at least one corresponding frost measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001331", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: lon, lat, reading, unit\n Sensor: visibility | fields: lat, qc, type, lon\nTask: Retrieve lat from temperature that have at least one matching reading in visibility sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001332", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: lat, value, level, depth\n Sensor: drought_index | fields: value, qc, lon, ts\nTask: Fetch lon from evaporation where value is greater than the average of value in drought_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"drought_index\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001333", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: unit, lon, reading, type\n Sensor: evaporation | fields: type, lat, level, reading\nTask: Get lon from turbidity where a corresponding entry exists in evaporation with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001334", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lat, ts, qc, depth\n Sensor: cloud_cover | fields: lat, ts, unit, level\nTask: Fetch reading from wind_speed where depth is greater than the minimum of depth in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001335", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lon, reading, qc, value\n Sensor: uv_index | fields: type, lat, reading, level\nTask: Get depth from dew_point where value exceeds the total depth from uv_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001336", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: depth, unit, ts, type\n Sensor: turbidity | fields: type, lat, depth, ts\nTask: Get depth from humidity where a corresponding entry exists in turbidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001337", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: unit, lat, qc, reading\n Sensor: evaporation | fields: depth, ts, value, level\nTask: Fetch depth from rainfall where reading is greater than the count of of value in evaporation for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"evaporation\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001338", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lon, type, unit, depth\n Sensor: drought_index | fields: qc, ts, level, value\nTask: Get value from sunlight where value exceeds the maximum reading from drought_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"drought_index\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001339", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: level, lon, type, reading\n Sensor: air_quality | fields: lon, level, value, qc\nTask: Retrieve value from drought_index whose qc is found in air_quality records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001340", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: value, depth, lon, reading\n Sensor: lightning | fields: ts, lat, value, lon\nTask: Retrieve depth from pressure whose unit is found in lightning records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001341", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: qc, type, depth, lat\n Sensor: cloud_cover | fields: ts, type, level, lat\nTask: Get reading from air_quality where a corresponding entry exists in cloud_cover with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "reading", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001342", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: reading, ts, value, level\n Sensor: drought_index | fields: depth, reading, value, qc\nTask: Fetch depth from dew_point that have at least one corresponding drought_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001343", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: qc, level, type, lat\n Sensor: evaporation | fields: lon, qc, type, reading\nTask: Get depth from wind_speed where a corresponding entry exists in evaporation with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001344", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: value, ts, lon, lat\n Sensor: sunlight | fields: depth, value, lat, qc\nTask: Get value from temperature where depth appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001345", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: qc, level, reading, unit\n Sensor: drought_index | fields: depth, qc, unit, type\nTask: Retrieve reading from visibility whose qc is found in drought_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001346", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: unit, lat, type, qc\n Sensor: pressure | fields: reading, qc, ts, lon\nTask: Fetch level from air_quality that have at least one corresponding pressure measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001347", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: qc, lon, lat, level\n Sensor: dew_point | fields: unit, ts, level, reading\nTask: Fetch reading from uv_index where reading is greater than the maximum of value in dew_point for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001348", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: qc, lat, ts, level\n Sensor: air_quality | fields: ts, lon, lat, depth\nTask: Get level from frost where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001349", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: ts, value, lat, type\n Sensor: temperature | fields: qc, reading, value, lat\nTask: Get lat from snow_depth where value exceeds the average depth from temperature for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"temperature\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001350", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: reading, ts, lon, level\n Sensor: cloud_cover | fields: lon, reading, qc, level\nTask: Get depth from uv_index where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001351", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: depth, level, qc, unit\n Sensor: temperature | fields: depth, level, value, type\nTask: Retrieve lon from pressure whose depth is found in temperature records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001352", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: ts, level, lon, reading\n Sensor: lightning | fields: level, type, depth, reading\nTask: Retrieve reading from turbidity with value above the SUM(depth) of lightning readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"lightning\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001353", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lon, reading, depth, type\n Sensor: uv_index | fields: lat, lon, ts, depth\nTask: Get reading from dew_point where value exceeds the minimum reading from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001354", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: unit, ts, level, depth\n Sensor: uv_index | fields: depth, level, value, ts\nTask: Get depth from air_quality where type appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001355", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: level, depth, qc, value\n Sensor: pressure | fields: lat, unit, lon, depth\nTask: Retrieve level from evaporation with value above the COUNT(reading) of pressure readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"pressure\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001356", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: qc, lat, lon, value\n Sensor: visibility | fields: level, ts, unit, qc\nTask: Retrieve value from uv_index whose depth is found in visibility records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001357", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lon, unit, qc, value\n Sensor: sunlight | fields: unit, value, qc, ts\nTask: Fetch level from evaporation that have at least one corresponding sunlight measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001358", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: value, depth, lon, unit\n Sensor: cloud_cover | fields: reading, unit, type, qc\nTask: Fetch lon from temperature where ts exists in cloud_cover sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001359", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: value, qc, lon, depth\n Sensor: visibility | fields: lat, value, level, lon\nTask: Get reading from uv_index where ts appears in visibility readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001360", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: value, type, qc, lat\n Sensor: evaporation | fields: level, reading, lon, depth\nTask: Retrieve lat from frost whose ts is found in evaporation records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001361", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: lat, unit, reading, type\n Sensor: dew_point | fields: qc, reading, lat, value\nTask: Get reading from soil_moisture where depth exceeds the maximum depth from dew_point for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"dew_point\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001362", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: reading, ts, unit, type\n Sensor: cloud_cover | fields: depth, qc, value, reading\nTask: Get reading from humidity where type appears in cloud_cover readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001363", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: depth, unit, level, lat\n Sensor: snow_depth | fields: lon, level, unit, qc\nTask: Retrieve lat from visibility whose ts is found in snow_depth records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001364", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: unit, value, type, ts\n Sensor: lightning | fields: lat, reading, ts, qc\nTask: Retrieve lon from frost whose ts is found in lightning records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001365", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: qc, type, unit, value\n Sensor: temperature | fields: depth, lat, ts, reading\nTask: Fetch lon from frost where depth is greater than the minimum of value in temperature for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"temperature\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001366", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: level, qc, lat, lon\n Sensor: wind_speed | fields: depth, lat, lon, type\nTask: Fetch depth from uv_index where unit exists in wind_speed sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001367", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: unit, ts, lon, lat\n Sensor: drought_index | fields: qc, value, lon, depth\nTask: Retrieve depth from cloud_cover whose unit is found in drought_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001368", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: depth, qc, level, reading\n Sensor: cloud_cover | fields: value, reading, lat, qc\nTask: Get level from turbidity where ts appears in cloud_cover readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001369", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: value, level, type, lat\n Sensor: temperature | fields: lon, ts, lat, level\nTask: Retrieve lat from wind_speed whose type is found in temperature records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001370", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: lon, reading, lat, level\n Sensor: lightning | fields: depth, lon, reading, lat\nTask: Get level from dew_point where a corresponding entry exists in lightning with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "level", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001371", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: unit, ts, lat, depth\n Sensor: evaporation | fields: ts, level, qc, depth\nTask: Fetch lon from soil_moisture where depth is greater than the average of reading in evaporation for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001372", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: unit, depth, type, value\n Sensor: sunlight | fields: value, lat, level, qc\nTask: Retrieve reading from snow_depth with value above the MIN(value) of sunlight readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"sunlight\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001373", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lat, qc, value, unit\n Sensor: dew_point | fields: value, reading, qc, lat\nTask: Fetch value from snow_depth that have at least one corresponding dew_point measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001374", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: qc, lat, depth, ts\n Sensor: dew_point | fields: lat, qc, ts, reading\nTask: Retrieve lat from visibility with reading above the MIN(value) of dew_point readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"dew_point\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001375", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: reading, depth, value, unit\n Sensor: wind_speed | fields: type, qc, depth, ts\nTask: Retrieve depth from drought_index that have at least one matching reading in wind_speed sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001376", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: unit, ts, qc, value\n Sensor: air_quality | fields: type, level, depth, ts\nTask: Get lat from sunlight where unit appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001377", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: value, depth, ts, qc\n Sensor: cloud_cover | fields: reading, ts, lon, unit\nTask: Get level from lightning where value exceeds the count of value from cloud_cover for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"cloud_cover\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001378", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: ts, depth, lon, type\n Sensor: sunlight | fields: value, type, level, depth\nTask: Retrieve level from snow_depth that have at least one matching reading in sunlight sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "level", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001379", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: value, level, type, ts\n Sensor: dew_point | fields: ts, depth, lat, value\nTask: Retrieve lat from rainfall that have at least one matching reading in dew_point sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lat", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001380", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: value, lon, lat, type\n Sensor: air_quality | fields: reading, level, unit, type\nTask: Get lon from uv_index where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001381", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: qc, lon, value, unit\n Sensor: frost | fields: reading, qc, depth, unit\nTask: Fetch level from uv_index where value is greater than the maximum of value in frost for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001382", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: ts, type, level, value\n Sensor: cloud_cover | fields: level, qc, ts, value\nTask: Retrieve level from soil_moisture that have at least one matching reading in cloud_cover sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001383", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: qc, lon, reading, depth\n Sensor: drought_index | fields: ts, lon, depth, level\nTask: Fetch reading from lightning where depth is greater than the total of reading in drought_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001384", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: reading, lon, value, type\n Sensor: drought_index | fields: depth, lat, type, value\nTask: Fetch reading from soil_moisture that have at least one corresponding drought_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "reading", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001385", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: depth, lat, value, qc\n Sensor: cloud_cover | fields: level, lon, ts, type\nTask: Retrieve lat from soil_moisture with value above the AVG(reading) of cloud_cover readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001386", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: qc, lat, lon, ts\n Sensor: temperature | fields: value, unit, depth, level\nTask: Get reading from evaporation where depth exceeds the count of depth from temperature for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"temperature\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001387", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: lon, ts, unit, qc\n Sensor: humidity | fields: lon, value, type, level\nTask: Retrieve level from soil_moisture with depth above the MAX(reading) of humidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"humidity\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001388", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: level, qc, type, reading\n Sensor: uv_index | fields: value, type, lat, depth\nTask: Fetch reading from rainfall where ts exists in uv_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001389", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lon, type, qc, unit\n Sensor: frost | fields: value, depth, lon, lat\nTask: Get value from visibility where a corresponding entry exists in frost with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "value", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001390", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: qc, value, level, ts\n Sensor: drought_index | fields: reading, ts, unit, lat\nTask: Fetch depth from uv_index that have at least one corresponding drought_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001391", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: type, ts, level, qc\n Sensor: air_quality | fields: qc, level, lon, reading\nTask: Get lon from temperature where depth exceeds the average depth from air_quality for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"air_quality\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001392", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: depth, type, unit, qc\n Sensor: wind_speed | fields: type, reading, qc, unit\nTask: Get lat from snow_depth where value exceeds the total depth from wind_speed for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"wind_speed\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001393", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: value, qc, ts, reading\n Sensor: frost | fields: unit, reading, lon, lat\nTask: Retrieve lon from temperature whose depth is found in frost records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001394", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: ts, depth, reading, type\n Sensor: visibility | fields: unit, value, type, level\nTask: Fetch reading from wind_speed where depth is greater than the count of of value in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"visibility\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001395", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: ts, reading, qc, value\n Sensor: pressure | fields: qc, unit, level, ts\nTask: Fetch lon from cloud_cover where unit exists in pressure sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001396", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lat, depth, lon, reading\n Sensor: lightning | fields: value, reading, lat, ts\nTask: Get reading from uv_index where depth appears in lightning readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001397", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: qc, level, value, lat\n Sensor: drought_index | fields: reading, unit, lon, level\nTask: Get value from evaporation where qc appears in drought_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001398", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: reading, lon, lat, type\n Sensor: cloud_cover | fields: lon, level, lat, ts\nTask: Retrieve value from uv_index with reading above the MIN(value) of cloud_cover readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001399", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lat, reading, ts, unit\n Sensor: pressure | fields: type, lon, qc, level\nTask: Get value from lightning where ts appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001400", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: qc, type, lat, reading\n Sensor: rainfall | fields: ts, lon, lat, value\nTask: Fetch depth from pressure where value is greater than the minimum of depth in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"rainfall\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001401", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lat, depth, unit, lon\n Sensor: frost | fields: value, lon, type, unit\nTask: Get lat from humidity where a corresponding entry exists in frost with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001402", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lat, value, level, depth\n Sensor: evaporation | fields: ts, level, reading, depth\nTask: Retrieve depth from turbidity that have at least one matching reading in evaporation sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001403", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: ts, type, value, depth\n Sensor: snow_depth | fields: lat, value, lon, ts\nTask: Retrieve lat from evaporation with value above the SUM(depth) of snow_depth readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"snow_depth\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001404", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: value, lon, ts, unit\n Sensor: humidity | fields: type, lon, ts, depth\nTask: Get lat from temperature where a corresponding entry exists in humidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001405", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: qc, value, type, level\n Sensor: visibility | fields: level, unit, ts, type\nTask: Get lon from wind_speed where ts appears in visibility readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001406", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: qc, reading, depth, type\n Sensor: lightning | fields: depth, unit, level, reading\nTask: Get lon from dew_point where value exceeds the average depth from lightning for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"lightning\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001407", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lat, value, qc, depth\n Sensor: soil_moisture | fields: qc, lon, reading, lat\nTask: Retrieve depth from humidity with reading above the MIN(value) of soil_moisture readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"soil_moisture\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001408", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: reading, type, level, lon\n Sensor: pressure | fields: ts, level, lat, depth\nTask: Retrieve lat from cloud_cover with reading above the SUM(reading) of pressure readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"pressure\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001409", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: ts, unit, value, lat\n Sensor: cloud_cover | fields: type, level, ts, qc\nTask: Get depth from rainfall where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001410", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: level, type, qc, ts\n Sensor: snow_depth | fields: level, value, lon, type\nTask: Get reading from lightning where value exceeds the total value from snow_depth for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"snow_depth\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001411", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lon, type, qc, unit\n Sensor: frost | fields: depth, reading, type, ts\nTask: Get reading from cloud_cover where value exceeds the maximum depth from frost for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"frost\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001412", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: depth, reading, unit, level\n Sensor: lightning | fields: unit, type, lat, qc\nTask: Retrieve level from visibility whose ts is found in lightning records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001413", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: lon, lat, unit, value\n Sensor: evaporation | fields: value, depth, level, qc\nTask: Get level from wind_speed where a corresponding entry exists in evaporation with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "level", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001414", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: reading, value, ts, lat\n Sensor: dew_point | fields: type, ts, level, unit\nTask: Fetch reading from lightning where reading is greater than the average of reading in dew_point for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"dew_point\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001415", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: type, reading, level, depth\n Sensor: visibility | fields: lon, reading, lat, qc\nTask: Fetch lat from evaporation where reading is greater than the total of reading in visibility for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"visibility\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001416", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: value, lon, qc, ts\n Sensor: temperature | fields: unit, ts, lat, value\nTask: Get level from lightning where unit appears in temperature readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001417", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: lat, reading, depth, value\n Sensor: drought_index | fields: value, reading, unit, lat\nTask: Get value from wind_speed where unit appears in drought_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001418", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: qc, type, ts, lat\n Sensor: dew_point | fields: depth, unit, type, lat\nTask: Fetch lat from soil_moisture where type exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "type", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001419", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: value, qc, unit, reading\n Sensor: pressure | fields: lat, ts, qc, unit\nTask: Get reading from cloud_cover where a corresponding entry exists in pressure with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "reading", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001420", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: reading, qc, lon, unit\n Sensor: temperature | fields: value, lat, qc, reading\nTask: Get level from lightning where depth appears in temperature readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001421", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: ts, lon, value, depth\n Sensor: drought_index | fields: unit, type, reading, depth\nTask: Get reading from turbidity where a corresponding entry exists in drought_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001422", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: value, lon, qc, level\n Sensor: air_quality | fields: ts, reading, level, unit\nTask: Get level from dew_point where reading exceeds the count of depth from air_quality for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"air_quality\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001423", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: type, lat, value, lon\n Sensor: drought_index | fields: depth, level, qc, value\nTask: Retrieve lon from frost that have at least one matching reading in drought_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lon", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001424", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: reading, lon, type, level\n Sensor: snow_depth | fields: depth, qc, level, type\nTask: Fetch depth from pressure where value is greater than the maximum of value in snow_depth for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"snow_depth\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001425", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: lon, lat, unit, type\n Sensor: cloud_cover | fields: lon, lat, qc, unit\nTask: Retrieve value from sunlight that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001426", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: lat, depth, unit, ts\n Sensor: temperature | fields: level, type, lon, value\nTask: Get value from lightning where type appears in temperature readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001427", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: qc, type, lon, lat\n Sensor: lightning | fields: qc, type, ts, level\nTask: Retrieve lon from uv_index that have at least one matching reading in lightning sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001428", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: ts, unit, level, qc\n Sensor: cloud_cover | fields: ts, lat, reading, depth\nTask: Get level from humidity where value exceeds the minimum reading from cloud_cover for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001429", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: depth, qc, ts, type\n Sensor: air_quality | fields: ts, level, depth, lat\nTask: Fetch level from temperature where unit exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001430", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: depth, value, type, ts\n Sensor: uv_index | fields: type, ts, qc, value\nTask: Retrieve depth from air_quality that have at least one matching reading in uv_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001431", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: value, unit, qc, level\n Sensor: air_quality | fields: ts, qc, value, lat\nTask: Fetch value from visibility where reading is greater than the minimum of depth in air_quality for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"air_quality\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001432", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lat, ts, type, lon\n Sensor: sunlight | fields: lat, value, depth, ts\nTask: Retrieve lat from temperature whose type is found in sunlight records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "lat", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001433", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: ts, reading, depth, value\n Sensor: drought_index | fields: value, depth, lat, ts\nTask: Retrieve level from evaporation with value above the AVG(reading) of drought_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"drought_index\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001434", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: depth, reading, qc, lon\n Sensor: lightning | fields: qc, type, reading, level\nTask: Retrieve depth from snow_depth with value above the SUM(depth) of lightning readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"lightning\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001435", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: unit, type, lon, reading\n Sensor: uv_index | fields: depth, lon, lat, value\nTask: Retrieve level from visibility that have at least one matching reading in uv_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001436", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: value, lon, depth, type\n Sensor: humidity | fields: ts, lat, qc, unit\nTask: Fetch value from temperature that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "value", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001437", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: reading, level, lon, lat\n Sensor: frost | fields: reading, lat, ts, lon\nTask: Fetch level from sunlight where ts exists in frost sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001438", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: qc, unit, reading, lon\n Sensor: turbidity | fields: qc, lon, unit, level\nTask: Fetch depth from temperature where value is greater than the minimum of value in turbidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"turbidity\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001439", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: depth, type, qc, unit\n Sensor: humidity | fields: value, lon, unit, reading\nTask: Fetch lon from wind_speed where depth is greater than the average of value in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"humidity\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001440", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: ts, level, type, depth\n Sensor: rainfall | fields: ts, unit, reading, qc\nTask: Get value from lightning where qc appears in rainfall readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001441", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lon, ts, unit, level\n Sensor: pressure | fields: unit, reading, ts, level\nTask: Get lat from air_quality where qc appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001442", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: reading, unit, level, lon\n Sensor: pressure | fields: ts, reading, lon, type\nTask: Get reading from temperature where depth appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001443", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lat, lon, value, qc\n Sensor: drought_index | fields: depth, lon, reading, ts\nTask: Fetch level from sunlight where unit exists in drought_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001444", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: unit, lon, ts, level\n Sensor: evaporation | fields: unit, lat, type, ts\nTask: Retrieve value from frost with value above the SUM(value) of evaporation readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"evaporation\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001445", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: unit, type, qc, level\n Sensor: drought_index | fields: level, unit, value, type\nTask: Get reading from pressure where ts appears in drought_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001446", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: ts, lon, qc, level\n Sensor: temperature | fields: reading, unit, lon, level\nTask: Fetch depth from dew_point that have at least one corresponding temperature measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001447", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: type, lon, value, qc\n Sensor: visibility | fields: ts, qc, lon, type\nTask: Retrieve depth from sunlight with reading above the SUM(depth) of visibility readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"visibility\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001448", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: unit, qc, lat, reading\n Sensor: pressure | fields: reading, unit, value, lat\nTask: Fetch lon from frost where unit exists in pressure sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001449", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: type, qc, lat, reading\n Sensor: sunlight | fields: value, lat, depth, reading\nTask: Retrieve lat from air_quality with depth above the MAX(value) of sunlight readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001450", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: level, value, qc, lon\n Sensor: humidity | fields: lon, level, ts, unit\nTask: Fetch lat from turbidity where depth is greater than the minimum of reading in humidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001451", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: ts, value, qc, level\n Sensor: evaporation | fields: lon, ts, lat, level\nTask: Fetch lat from rainfall that have at least one corresponding evaporation measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001452", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: ts, type, value, lat\n Sensor: cloud_cover | fields: unit, level, type, value\nTask: Retrieve lat from wind_speed that have at least one matching reading in cloud_cover sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001453", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: lat, value, reading, lon\n Sensor: uv_index | fields: lat, value, qc, lon\nTask: Fetch level from snow_depth where value is greater than the minimum of value in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"uv_index\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001454", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: level, value, type, lon\n Sensor: humidity | fields: value, lat, ts, level\nTask: Get reading from visibility where value exceeds the maximum depth from humidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001455", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: qc, lon, lat, ts\n Sensor: air_quality | fields: reading, depth, unit, level\nTask: Get reading from turbidity where a corresponding entry exists in air_quality with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001456", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: value, unit, lat, depth\n Sensor: lightning | fields: depth, level, unit, lat\nTask: Retrieve level from snow_depth that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "level", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001457", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: unit, type, ts, depth\n Sensor: evaporation | fields: qc, lon, level, value\nTask: Fetch lat from air_quality where depth is greater than the total of depth in evaporation for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001458", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: qc, type, ts, unit\n Sensor: soil_moisture | fields: reading, value, lon, type\nTask: Retrieve depth from cloud_cover that have at least one matching reading in soil_moisture sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001459", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: unit, ts, value, qc\n Sensor: visibility | fields: level, reading, unit, qc\nTask: Fetch lat from dew_point where reading is greater than the average of reading in visibility for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"visibility\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001460", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lat, depth, lon, type\n Sensor: pressure | fields: level, value, reading, depth\nTask: Fetch lon from lightning that have at least one corresponding pressure measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lon", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001461", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: qc, reading, unit, level\n Sensor: rainfall | fields: depth, reading, unit, lon\nTask: Fetch level from sunlight that have at least one corresponding rainfall measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001462", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: depth, unit, qc, lon\n Sensor: dew_point | fields: unit, qc, lon, depth\nTask: Retrieve level from air_quality that have at least one matching reading in dew_point sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001463", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: reading, type, ts, lon\n Sensor: evaporation | fields: ts, lon, type, depth\nTask: Fetch reading from humidity where depth is greater than the minimum of depth in evaporation for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001464", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: depth, lat, value, lon\n Sensor: humidity | fields: lat, type, depth, reading\nTask: Retrieve depth from rainfall with depth above the MAX(depth) of humidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001465", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: reading, value, lon, lat\n Sensor: pressure | fields: ts, reading, qc, lat\nTask: Retrieve lon from wind_speed whose depth is found in pressure records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001466", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lat, level, ts, depth\n Sensor: snow_depth | fields: reading, level, unit, lat\nTask: Get depth from humidity where a corresponding entry exists in snow_depth with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001467", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: lat, depth, lon, reading\n Sensor: visibility | fields: lon, value, type, unit\nTask: Get value from drought_index where depth exceeds the total depth from visibility for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"visibility\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001468", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: lat, ts, unit, lon\n Sensor: cloud_cover | fields: lon, unit, reading, value\nTask: Fetch depth from wind_speed where reading is greater than the maximum of reading in cloud_cover for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001469", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: level, reading, ts, qc\n Sensor: sunlight | fields: depth, reading, ts, unit\nTask: Get lon from visibility where value exceeds the minimum value from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"sunlight\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001470", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: depth, unit, qc, type\n Sensor: drought_index | fields: ts, level, unit, depth\nTask: Get level from wind_speed where depth appears in drought_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001471", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: ts, lat, depth, qc\n Sensor: visibility | fields: level, lon, depth, unit\nTask: Fetch depth from uv_index where qc exists in visibility sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001472", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lat, qc, reading, unit\n Sensor: air_quality | fields: lon, level, value, qc\nTask: Fetch lat from rainfall where value is greater than the average of value in air_quality for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001473", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: level, lat, type, qc\n Sensor: wind_speed | fields: level, value, qc, reading\nTask: Retrieve level from evaporation whose unit is found in wind_speed records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001474", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: value, level, reading, ts\n Sensor: temperature | fields: reading, unit, ts, lat\nTask: Get reading from sunlight where type appears in temperature readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001475", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: depth, lon, qc, type\n Sensor: snow_depth | fields: ts, depth, lat, reading\nTask: Fetch level from temperature where reading is greater than the minimum of value in snow_depth for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"snow_depth\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001476", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lon, qc, depth, value\n Sensor: wind_speed | fields: lat, value, level, type\nTask: Fetch depth from air_quality that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001477", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lon, level, type, lat\n Sensor: wind_speed | fields: lat, reading, lon, ts\nTask: Retrieve lon from air_quality that have at least one matching reading in wind_speed sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001478", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: level, type, depth, qc\n Sensor: turbidity | fields: reading, ts, value, qc\nTask: Retrieve depth from dew_point whose depth is found in turbidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001479", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: lon, ts, lat, qc\n Sensor: cloud_cover | fields: value, ts, type, unit\nTask: Get reading from temperature where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "reading", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001480", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: value, reading, lon, qc\n Sensor: frost | fields: qc, unit, lat, lon\nTask: Fetch value from cloud_cover where reading is greater than the minimum of depth in frost for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"frost\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001481", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: unit, level, type, lon\n Sensor: cloud_cover | fields: unit, ts, value, depth\nTask: Retrieve depth from air_quality that have at least one matching reading in cloud_cover sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001482", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: type, lat, qc, lon\n Sensor: lightning | fields: value, depth, type, lat\nTask: Get depth from turbidity where depth appears in lightning readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001483", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: type, lon, value, lat\n Sensor: dew_point | fields: ts, lon, level, unit\nTask: Get level from sunlight where a corresponding entry exists in dew_point with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "level", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001484", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: level, depth, lat, reading\n Sensor: air_quality | fields: qc, level, lat, lon\nTask: Get level from temperature where a corresponding entry exists in air_quality with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001485", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: depth, lon, ts, lat\n Sensor: dew_point | fields: lat, level, qc, unit\nTask: Fetch lat from sunlight where unit exists in dew_point sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001486", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: value, reading, unit, type\n Sensor: frost | fields: value, ts, lon, unit\nTask: Fetch level from dew_point that have at least one corresponding frost measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "level", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001487", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: reading, type, ts, value\n Sensor: soil_moisture | fields: lon, qc, type, value\nTask: Fetch depth from temperature where depth is greater than the minimum of value in soil_moisture for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"soil_moisture\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001488", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: unit, depth, qc, ts\n Sensor: pressure | fields: value, type, reading, level\nTask: Retrieve reading from humidity that have at least one matching reading in pressure sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "reading", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001489", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: value, lon, level, reading\n Sensor: cloud_cover | fields: value, reading, lat, level\nTask: Get depth from turbidity where value exceeds the maximum depth from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001490", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: level, value, depth, unit\n Sensor: evaporation | fields: type, qc, level, lat\nTask: Fetch level from wind_speed where unit exists in evaporation sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001491", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: depth, level, unit, qc\n Sensor: drought_index | fields: reading, level, lat, type\nTask: Retrieve lon from dew_point with reading above the MAX(reading) of drought_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"drought_index\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001492", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: value, lon, lat, reading\n Sensor: frost | fields: value, type, reading, qc\nTask: Get reading from visibility where depth exceeds the count of reading from frost for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"frost\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001493", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: value, reading, lat, type\n Sensor: humidity | fields: level, reading, lat, unit\nTask: Get depth from sunlight where ts appears in humidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001494", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: value, type, depth, level\n Sensor: uv_index | fields: unit, type, qc, lat\nTask: Fetch lon from sunlight where qc exists in uv_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001495", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: depth, lon, type, level\n Sensor: drought_index | fields: level, lon, reading, qc\nTask: Get level from soil_moisture where unit appears in drought_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001496", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lat, reading, level, ts\n Sensor: temperature | fields: unit, lat, qc, level\nTask: Retrieve depth from wind_speed that have at least one matching reading in temperature sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001497", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lon, reading, depth, qc\n Sensor: lightning | fields: ts, reading, value, level\nTask: Fetch depth from pressure where reading is greater than the maximum of depth in lightning for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"lightning\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001498", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: reading, type, value, depth\n Sensor: cloud_cover | fields: type, reading, lon, value\nTask: Retrieve level from wind_speed whose ts is found in cloud_cover records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001499", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: depth, qc, value, lon\n Sensor: evaporation | fields: level, type, reading, depth\nTask: Get value from air_quality where depth appears in evaporation readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001500", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: qc, level, reading, ts\n Sensor: sunlight | fields: level, value, lon, ts\nTask: Get lon from frost where depth exceeds the minimum reading from sunlight for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"sunlight\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001501", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: reading, type, lat, value\n Sensor: temperature | fields: level, qc, ts, lon\nTask: Fetch lon from drought_index that have at least one corresponding temperature measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001502", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: ts, lon, value, reading\n Sensor: evaporation | fields: lon, value, type, ts\nTask: Fetch lon from temperature where unit exists in evaporation sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001503", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: unit, depth, value, ts\n Sensor: visibility | fields: value, qc, level, lon\nTask: Fetch reading from dew_point where unit exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001504", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lon, lat, level, unit\n Sensor: pressure | fields: lon, unit, depth, qc\nTask: Get depth from wind_speed where type appears in pressure readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001505", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: ts, value, reading, depth\n Sensor: visibility | fields: lon, value, type, unit\nTask: Retrieve reading from humidity that have at least one matching reading in visibility sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001506", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: unit, ts, level, type\n Sensor: soil_moisture | fields: ts, type, lat, lon\nTask: Get lon from turbidity where qc appears in soil_moisture readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001507", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: level, depth, value, reading\n Sensor: sunlight | fields: type, lon, depth, unit\nTask: Fetch depth from humidity that have at least one corresponding sunlight measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001508", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: qc, unit, depth, level\n Sensor: sunlight | fields: lat, unit, value, qc\nTask: Get reading from snow_depth where a corresponding entry exists in sunlight with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001509", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lat, level, lon, value\n Sensor: humidity | fields: level, type, lat, lon\nTask: Retrieve lon from visibility with depth above the COUNT(value) of humidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"humidity\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001510", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: unit, depth, level, lat\n Sensor: sunlight | fields: unit, level, lat, ts\nTask: Get reading from dew_point where a corresponding entry exists in sunlight with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001511", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: lat, lon, qc, value\n Sensor: wind_speed | fields: lat, value, unit, reading\nTask: Fetch reading from temperature where depth is greater than the minimum of depth in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"wind_speed\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001512", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: ts, depth, lat, type\n Sensor: uv_index | fields: ts, lat, depth, unit\nTask: Get reading from drought_index where type appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001513", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: type, depth, lat, reading\n Sensor: air_quality | fields: reading, qc, type, value\nTask: Retrieve lat from evaporation that have at least one matching reading in air_quality sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001514", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lon, depth, value, lat\n Sensor: temperature | fields: reading, value, lon, lat\nTask: Get lat from dew_point where a corresponding entry exists in temperature with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lat", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001515", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: level, reading, unit, depth\n Sensor: uv_index | fields: reading, ts, lon, type\nTask: Retrieve lat from humidity whose qc is found in uv_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001516", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: unit, type, value, ts\n Sensor: evaporation | fields: qc, level, depth, lat\nTask: Get lat from sunlight where ts appears in evaporation readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001517", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: depth, level, lat, type\n Sensor: frost | fields: lon, value, ts, depth\nTask: Retrieve reading from visibility whose ts is found in frost records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001518", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: qc, reading, lat, lon\n Sensor: cloud_cover | fields: type, depth, ts, lat\nTask: Get value from wind_speed where a corresponding entry exists in cloud_cover with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "value", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001519", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: value, reading, lat, ts\n Sensor: rainfall | fields: value, reading, level, qc\nTask: Fetch lat from pressure where depth is greater than the count of of depth in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"rainfall\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001520", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: lat, value, depth, unit\n Sensor: wind_speed | fields: value, depth, qc, type\nTask: Get depth from soil_moisture where value exceeds the count of depth from wind_speed for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"wind_speed\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001521", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: level, ts, reading, unit\n Sensor: cloud_cover | fields: reading, lon, qc, level\nTask: Retrieve value from turbidity that have at least one matching reading in cloud_cover sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "value", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001522", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: type, ts, reading, unit\n Sensor: rainfall | fields: ts, qc, depth, level\nTask: Get value from wind_speed where a corresponding entry exists in rainfall with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001523", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: unit, ts, type, reading\n Sensor: lightning | fields: type, lon, qc, depth\nTask: Fetch lat from wind_speed that have at least one corresponding lightning measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001524", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: type, value, lon, unit\n Sensor: snow_depth | fields: lat, ts, level, reading\nTask: Fetch reading from temperature that have at least one corresponding snow_depth measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "reading", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001525", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lat, qc, unit, ts\n Sensor: soil_moisture | fields: reading, lat, depth, value\nTask: Retrieve level from wind_speed whose qc is found in soil_moisture records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001526", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: ts, depth, qc, value\n Sensor: evaporation | fields: lon, lat, level, unit\nTask: Fetch depth from pressure where type exists in evaporation sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001527", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: value, depth, type, reading\n Sensor: sunlight | fields: ts, qc, value, reading\nTask: Fetch value from visibility where reading is greater than the minimum of depth in sunlight for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"sunlight\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001528", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: type, value, depth, level\n Sensor: visibility | fields: level, reading, value, ts\nTask: Get lon from drought_index where qc appears in visibility readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001529", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: reading, depth, value, type\n Sensor: humidity | fields: reading, ts, unit, depth\nTask: Retrieve reading from drought_index that have at least one matching reading in humidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001530", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: reading, value, level, lon\n Sensor: snow_depth | fields: value, reading, qc, lat\nTask: Retrieve lat from evaporation with depth above the MIN(reading) of snow_depth readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"snow_depth\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001531", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: ts, value, reading, depth\n Sensor: sunlight | fields: depth, unit, type, qc\nTask: Get lon from visibility where a corresponding entry exists in sunlight with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001532", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: level, unit, ts, lat\n Sensor: rainfall | fields: type, unit, qc, lon\nTask: Get value from dew_point where unit appears in rainfall readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001533", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: qc, reading, value, unit\n Sensor: air_quality | fields: qc, type, ts, reading\nTask: Retrieve level from temperature that have at least one matching reading in air_quality sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001534", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lon, ts, depth, type\n Sensor: rainfall | fields: level, depth, lat, qc\nTask: Fetch reading from dew_point that have at least one corresponding rainfall measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "reading", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001535", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: type, depth, ts, qc\n Sensor: sunlight | fields: type, depth, reading, lat\nTask: Retrieve value from pressure that have at least one matching reading in sunlight sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001536", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: depth, level, reading, value\n Sensor: wind_speed | fields: qc, depth, reading, lat\nTask: Get level from cloud_cover where depth exceeds the maximum depth from wind_speed for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"wind_speed\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001537", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: type, value, depth, ts\n Sensor: air_quality | fields: type, reading, ts, value\nTask: Fetch depth from dew_point that have at least one corresponding air_quality measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001538", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: level, qc, ts, depth\n Sensor: snow_depth | fields: reading, unit, value, lat\nTask: Retrieve lat from visibility whose depth is found in snow_depth records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001539", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: level, depth, value, reading\n Sensor: uv_index | fields: lat, depth, value, lon\nTask: Get value from air_quality where type appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001540", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: value, qc, lat, unit\n Sensor: lightning | fields: level, type, lon, value\nTask: Retrieve value from uv_index whose unit is found in lightning records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001541", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: value, unit, depth, type\n Sensor: snow_depth | fields: level, lon, unit, lat\nTask: Get lon from air_quality where a corresponding entry exists in snow_depth with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lon", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001542", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: value, lat, lon, type\n Sensor: wind_speed | fields: depth, level, ts, qc\nTask: Retrieve depth from snow_depth with value above the SUM(reading) of wind_speed readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001543", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: depth, lat, level, value\n Sensor: drought_index | fields: qc, depth, reading, type\nTask: Get reading from pressure where a corresponding entry exists in drought_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001544", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lon, qc, lat, value\n Sensor: air_quality | fields: unit, qc, depth, lat\nTask: Get level from rainfall where qc appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001545", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lat, qc, ts, type\n Sensor: visibility | fields: type, reading, qc, unit\nTask: Retrieve level from turbidity whose depth is found in visibility records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001546", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lat, lon, depth, type\n Sensor: rainfall | fields: depth, unit, qc, value\nTask: Fetch level from wind_speed that have at least one corresponding rainfall measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001547", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: ts, lon, lat, type\n Sensor: humidity | fields: reading, depth, lon, value\nTask: Retrieve reading from drought_index whose unit is found in humidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001548", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: value, ts, depth, lon\n Sensor: pressure | fields: unit, reading, depth, lat\nTask: Fetch lat from drought_index where depth is greater than the count of of depth in pressure for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"pressure\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001549", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lat, reading, level, type\n Sensor: drought_index | fields: depth, ts, reading, lon\nTask: Fetch lon from wind_speed where depth is greater than the total of value in drought_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"drought_index\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001550", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: lat, unit, reading, type\n Sensor: turbidity | fields: qc, lat, depth, level\nTask: Fetch lat from cloud_cover where qc exists in turbidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001551", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: ts, level, value, lat\n Sensor: lightning | fields: ts, depth, unit, value\nTask: Retrieve lat from turbidity whose qc is found in lightning records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001552", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: unit, lon, lat, type\n Sensor: pressure | fields: qc, reading, lat, value\nTask: Get reading from air_quality where a corresponding entry exists in pressure with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "reading", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001553", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: lon, lat, value, level\n Sensor: uv_index | fields: unit, type, lat, qc\nTask: Fetch lat from sunlight where ts exists in uv_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001554", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: value, qc, unit, lat\n Sensor: frost | fields: lat, level, unit, value\nTask: Retrieve level from dew_point whose qc is found in frost records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001555", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: qc, reading, value, lat\n Sensor: dew_point | fields: ts, level, value, type\nTask: Retrieve reading from snow_depth that have at least one matching reading in dew_point sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "reading", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001556", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: lat, ts, qc, value\n Sensor: wind_speed | fields: value, qc, ts, depth\nTask: Retrieve lon from lightning that have at least one matching reading in wind_speed sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001557", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: depth, reading, ts, type\n Sensor: visibility | fields: lat, value, depth, ts\nTask: Fetch depth from rainfall where value is greater than the average of reading in visibility for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"visibility\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001558", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: lat, reading, level, depth\n Sensor: frost | fields: ts, value, lon, level\nTask: Retrieve lat from pressure whose type is found in frost records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001559", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: reading, type, qc, level\n Sensor: turbidity | fields: ts, reading, type, unit\nTask: Fetch depth from frost that have at least one corresponding turbidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001560", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: type, reading, ts, lon\n Sensor: dew_point | fields: unit, lat, ts, type\nTask: Get lat from lightning where reading exceeds the total depth from dew_point for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"dew_point\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001561", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: type, level, value, ts\n Sensor: humidity | fields: lat, unit, level, lon\nTask: Get lon from turbidity where value exceeds the maximum depth from humidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001562", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: reading, qc, level, ts\n Sensor: pressure | fields: depth, type, qc, lon\nTask: Retrieve reading from turbidity with reading above the SUM(depth) of pressure readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"pressure\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001563", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: type, qc, reading, unit\n Sensor: air_quality | fields: unit, level, lat, reading\nTask: Retrieve reading from pressure that have at least one matching reading in air_quality sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "reading", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001564", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: lat, reading, level, unit\n Sensor: uv_index | fields: ts, qc, reading, level\nTask: Fetch lat from temperature where reading is greater than the maximum of depth in uv_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"uv_index\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001565", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: ts, lon, level, qc\n Sensor: lightning | fields: qc, unit, level, reading\nTask: Retrieve depth from visibility that have at least one matching reading in lightning sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001566", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lon, lat, type, value\n Sensor: frost | fields: lon, level, ts, depth\nTask: Retrieve reading from pressure with reading above the MIN(value) of frost readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"frost\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001567", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: type, qc, lon, ts\n Sensor: frost | fields: qc, reading, level, value\nTask: Get lat from turbidity where a corresponding entry exists in frost with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lat", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001568", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: lon, level, depth, reading\n Sensor: frost | fields: lat, qc, depth, type\nTask: Get lat from snow_depth where qc appears in frost readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001569", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: value, ts, unit, lon\n Sensor: lightning | fields: level, unit, ts, reading\nTask: Fetch level from snow_depth where value is greater than the minimum of reading in lightning for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"lightning\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001570", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: unit, lon, value, lat\n Sensor: humidity | fields: lat, unit, level, type\nTask: Get value from frost where a corresponding entry exists in humidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001571", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: unit, reading, lat, ts\n Sensor: humidity | fields: lat, level, ts, lon\nTask: Retrieve depth from rainfall with value above the AVG(value) of humidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"humidity\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001572", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: qc, type, reading, depth\n Sensor: rainfall | fields: value, lat, ts, reading\nTask: Retrieve depth from wind_speed that have at least one matching reading in rainfall sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001573", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: unit, depth, type, lon\n Sensor: drought_index | fields: ts, lat, lon, level\nTask: Retrieve depth from air_quality whose qc is found in drought_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001574", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: ts, qc, level, lat\n Sensor: rainfall | fields: reading, unit, type, depth\nTask: Fetch level from lightning where reading is greater than the total of reading in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"rainfall\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001575", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: unit, type, lat, depth\n Sensor: sunlight | fields: type, unit, qc, reading\nTask: Retrieve value from dew_point whose unit is found in sunlight records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001576", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: reading, value, level, lat\n Sensor: wind_speed | fields: depth, lon, value, unit\nTask: Retrieve depth from visibility whose type is found in wind_speed records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001577", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: value, level, ts, type\n Sensor: visibility | fields: lat, level, ts, unit\nTask: Get depth from uv_index where a corresponding entry exists in visibility with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001578", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: unit, type, depth, reading\n Sensor: wind_speed | fields: lat, value, reading, level\nTask: Fetch lon from uv_index where value is greater than the total of depth in wind_speed for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"wind_speed\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001579", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lon, lat, unit, depth\n Sensor: sunlight | fields: unit, depth, qc, lat\nTask: Get value from turbidity where depth exceeds the count of depth from sunlight for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001580", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: unit, type, lat, qc\n Sensor: turbidity | fields: depth, ts, value, lat\nTask: Fetch value from dew_point that have at least one corresponding turbidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001581", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: lat, value, unit, level\n Sensor: evaporation | fields: level, reading, type, lon\nTask: Retrieve reading from lightning that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "reading", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001582", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: value, depth, ts, lat\n Sensor: wind_speed | fields: lat, ts, depth, lon\nTask: Get lon from sunlight where ts appears in wind_speed readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001583", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: qc, depth, ts, type\n Sensor: dew_point | fields: lat, qc, type, value\nTask: Get reading from cloud_cover where qc appears in dew_point readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001584", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: type, qc, ts, depth\n Sensor: cloud_cover | fields: type, depth, reading, level\nTask: Fetch lat from lightning where type exists in cloud_cover sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001585", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: type, qc, depth, level\n Sensor: sunlight | fields: unit, value, lon, ts\nTask: Get value from drought_index where depth exceeds the total value from sunlight for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"sunlight\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001586", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: depth, ts, qc, lat\n Sensor: rainfall | fields: depth, lat, value, unit\nTask: Retrieve reading from uv_index that have at least one matching reading in rainfall sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001587", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: depth, level, qc, type\n Sensor: humidity | fields: unit, lon, depth, value\nTask: Get reading from dew_point where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001588", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: value, level, unit, lat\n Sensor: humidity | fields: lat, unit, level, ts\nTask: Fetch value from cloud_cover that have at least one corresponding humidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001589", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: reading, type, unit, depth\n Sensor: frost | fields: value, depth, type, ts\nTask: Retrieve reading from humidity that have at least one matching reading in frost sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001590", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: type, level, depth, lon\n Sensor: soil_moisture | fields: reading, level, value, unit\nTask: Retrieve depth from pressure that have at least one matching reading in soil_moisture sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001591", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: lon, type, lat, unit\n Sensor: pressure | fields: type, lat, level, unit\nTask: Fetch lon from evaporation where unit exists in pressure sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001592", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: qc, ts, depth, type\n Sensor: visibility | fields: ts, level, depth, qc\nTask: Fetch lat from evaporation that have at least one corresponding visibility measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lat", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001593", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: unit, ts, depth, lat\n Sensor: rainfall | fields: lat, depth, ts, lon\nTask: Retrieve lat from sunlight with value above the SUM(depth) of rainfall readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"rainfall\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001594", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lon, reading, type, unit\n Sensor: turbidity | fields: reading, lon, unit, lat\nTask: Get depth from dew_point where reading exceeds the count of value from turbidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"turbidity\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001595", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: unit, value, type, lat\n Sensor: cloud_cover | fields: unit, lon, lat, type\nTask: Fetch lon from frost where value is greater than the average of reading in cloud_cover for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001596", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: type, qc, lon, value\n Sensor: sunlight | fields: value, qc, lat, reading\nTask: Retrieve lon from air_quality with reading above the SUM(depth) of sunlight readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"sunlight\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001597", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: level, lat, qc, ts\n Sensor: evaporation | fields: value, qc, reading, level\nTask: Get lon from visibility where unit appears in evaporation readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001598", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: level, value, lat, qc\n Sensor: uv_index | fields: ts, type, value, lat\nTask: Get reading from visibility where a corresponding entry exists in uv_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001599", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: value, type, unit, level\n Sensor: air_quality | fields: level, qc, depth, type\nTask: Fetch lat from wind_speed where unit exists in air_quality sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001600", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: value, qc, level, lon\n Sensor: evaporation | fields: reading, unit, type, lat\nTask: Fetch depth from uv_index that have at least one corresponding evaporation measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001601", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: ts, qc, depth, lat\n Sensor: soil_moisture | fields: value, depth, level, qc\nTask: Retrieve depth from sunlight that have at least one matching reading in soil_moisture sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001602", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: value, unit, ts, lon\n Sensor: rainfall | fields: lon, qc, unit, reading\nTask: Retrieve depth from air_quality that have at least one matching reading in rainfall sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001603", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: lat, type, lon, value\n Sensor: snow_depth | fields: depth, unit, lat, lon\nTask: Fetch lat from cloud_cover that have at least one corresponding snow_depth measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001604", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: level, ts, unit, depth\n Sensor: pressure | fields: ts, value, level, qc\nTask: Get depth from turbidity where type appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001605", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: level, lat, lon, ts\n Sensor: air_quality | fields: unit, reading, value, qc\nTask: Get level from cloud_cover where depth exceeds the minimum reading from air_quality for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001606", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: value, lat, depth, qc\n Sensor: soil_moisture | fields: qc, level, value, depth\nTask: Get value from dew_point where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001607", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: reading, ts, qc, lat\n Sensor: humidity | fields: qc, type, value, reading\nTask: Fetch level from sunlight where reading is greater than the minimum of reading in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001608", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lat, lon, unit, ts\n Sensor: air_quality | fields: level, qc, reading, value\nTask: Get depth from humidity where a corresponding entry exists in air_quality with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001609", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: type, reading, qc, lon\n Sensor: frost | fields: qc, value, level, unit\nTask: Retrieve reading from air_quality with depth above the AVG(reading) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"frost\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001610", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: type, lat, qc, unit\n Sensor: drought_index | fields: lon, level, unit, qc\nTask: Fetch depth from lightning that have at least one corresponding drought_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001611", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: qc, ts, lat, type\n Sensor: cloud_cover | fields: reading, lat, type, lon\nTask: Retrieve lon from turbidity that have at least one matching reading in cloud_cover sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lon", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001612", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: qc, ts, level, depth\n Sensor: soil_moisture | fields: ts, level, lon, type\nTask: Fetch reading from frost where reading is greater than the count of of depth in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001613", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: lat, ts, unit, type\n Sensor: frost | fields: lat, lon, ts, value\nTask: Fetch reading from soil_moisture where reading is greater than the minimum of depth in frost for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"frost\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001614", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: lon, type, value, level\n Sensor: rainfall | fields: lon, value, type, depth\nTask: Retrieve reading from temperature whose depth is found in rainfall records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001615", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: type, lon, reading, depth\n Sensor: air_quality | fields: ts, reading, value, level\nTask: Fetch value from sunlight where value is greater than the average of value in air_quality for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001616", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: type, value, level, ts\n Sensor: uv_index | fields: depth, unit, reading, ts\nTask: Retrieve reading from cloud_cover that have at least one matching reading in uv_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "reading", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001617", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: ts, type, depth, lon\n Sensor: rainfall | fields: qc, lon, level, reading\nTask: Get value from temperature where a corresponding entry exists in rainfall with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001618", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lat, ts, lon, unit\n Sensor: pressure | fields: depth, level, qc, value\nTask: Get lon from sunlight where unit appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001619", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: reading, lat, depth, lon\n Sensor: drought_index | fields: reading, level, lon, type\nTask: Fetch reading from visibility that have at least one corresponding drought_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001620", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: depth, level, ts, qc\n Sensor: drought_index | fields: ts, type, lat, level\nTask: Get lat from rainfall where a corresponding entry exists in drought_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lat", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001621", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lon, reading, qc, lat\n Sensor: evaporation | fields: type, value, level, lon\nTask: Fetch lat from dew_point that have at least one corresponding evaporation measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lat", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001622", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: qc, level, lat, depth\n Sensor: lightning | fields: value, depth, lon, qc\nTask: Get level from cloud_cover where a corresponding entry exists in lightning with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001623", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: lon, lat, type, level\n Sensor: uv_index | fields: qc, type, level, lon\nTask: Retrieve depth from snow_depth whose unit is found in uv_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001624", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: unit, value, qc, ts\n Sensor: dew_point | fields: type, ts, unit, lon\nTask: Get value from cloud_cover where depth exceeds the maximum depth from dew_point for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"dew_point\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001625", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lon, level, lat, unit\n Sensor: soil_moisture | fields: qc, type, reading, unit\nTask: Fetch value from turbidity that have at least one corresponding soil_moisture measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001626", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: depth, level, value, reading\n Sensor: humidity | fields: level, ts, type, depth\nTask: Fetch level from air_quality where depth exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001627", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: ts, depth, lon, value\n Sensor: humidity | fields: type, value, unit, ts\nTask: Fetch depth from lightning that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001628", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: depth, ts, unit, type\n Sensor: drought_index | fields: lon, type, ts, unit\nTask: Fetch lon from air_quality that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001629", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lat, ts, type, value\n Sensor: air_quality | fields: unit, lon, reading, depth\nTask: Fetch lat from humidity where unit exists in air_quality sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001630", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: unit, depth, lon, qc\n Sensor: drought_index | fields: reading, type, lat, unit\nTask: Retrieve lat from air_quality that have at least one matching reading in drought_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001631", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: reading, value, lon, level\n Sensor: turbidity | fields: lat, level, value, unit\nTask: Fetch reading from pressure where value is greater than the maximum of depth in turbidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"turbidity\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001632", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: qc, unit, level, reading\n Sensor: rainfall | fields: qc, type, level, value\nTask: Get lon from turbidity where a corresponding entry exists in rainfall with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001633", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: unit, type, ts, lat\n Sensor: visibility | fields: depth, qc, unit, value\nTask: Fetch lon from frost where unit exists in visibility sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001634", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: reading, unit, ts, qc\n Sensor: humidity | fields: lat, type, value, qc\nTask: Fetch lat from evaporation where unit exists in humidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001635", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: lon, lat, ts, unit\n Sensor: pressure | fields: ts, lat, unit, depth\nTask: Fetch lon from temperature where value is greater than the minimum of value in pressure for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"pressure\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001636", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: value, lon, qc, depth\n Sensor: turbidity | fields: value, lat, lon, level\nTask: Get lat from soil_moisture where a corresponding entry exists in turbidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001637", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: lon, depth, type, reading\n Sensor: turbidity | fields: lat, qc, type, ts\nTask: Retrieve reading from visibility with depth above the SUM(depth) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"turbidity\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001638", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lat, reading, level, ts\n Sensor: wind_speed | fields: type, reading, lon, level\nTask: Fetch level from pressure where value is greater than the minimum of depth in wind_speed for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001639", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lon, level, unit, value\n Sensor: temperature | fields: depth, ts, lat, value\nTask: Retrieve lat from uv_index with reading above the SUM(depth) of temperature readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"temperature\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001640", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: lon, unit, qc, level\n Sensor: air_quality | fields: lon, level, lat, unit\nTask: Fetch value from cloud_cover where depth is greater than the minimum of depth in air_quality for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001641", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: reading, value, lat, ts\n Sensor: soil_moisture | fields: level, lon, ts, depth\nTask: Get lon from air_quality where depth exceeds the maximum reading from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001642", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: type, depth, qc, ts\n Sensor: pressure | fields: type, value, reading, lat\nTask: Fetch lon from evaporation where depth exists in pressure sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001643", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lat, lon, depth, unit\n Sensor: uv_index | fields: type, lon, lat, depth\nTask: Fetch depth from visibility where qc exists in uv_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001644", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: reading, qc, value, depth\n Sensor: dew_point | fields: depth, qc, value, ts\nTask: Fetch reading from humidity that have at least one corresponding dew_point measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001645", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: unit, qc, lat, type\n Sensor: pressure | fields: ts, reading, depth, lon\nTask: Get value from frost where reading exceeds the total value from pressure for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"pressure\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001646", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: depth, lat, qc, ts\n Sensor: wind_speed | fields: type, depth, reading, level\nTask: Fetch reading from air_quality that have at least one corresponding wind_speed measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001647", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: value, qc, ts, level\n Sensor: temperature | fields: lat, value, ts, qc\nTask: Fetch lat from snow_depth where depth is greater than the total of reading in temperature for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001648", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: ts, type, lat, level\n Sensor: dew_point | fields: lon, reading, level, depth\nTask: Fetch lon from lightning where depth exists in dew_point sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001649", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lon, level, qc, reading\n Sensor: evaporation | fields: unit, level, type, qc\nTask: Fetch lon from visibility where value is greater than the maximum of reading in evaporation for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"evaporation\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001650", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: qc, unit, depth, level\n Sensor: dew_point | fields: value, type, lon, ts\nTask: Retrieve level from frost whose ts is found in dew_point records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001651", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, qc, depth, lat\n Sensor: soil_moisture | fields: lat, depth, ts, value\nTask: Fetch lat from wind_speed that have at least one corresponding soil_moisture measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001652", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: depth, reading, lat, level\n Sensor: uv_index | fields: lon, lat, depth, level\nTask: Fetch value from dew_point where reading is greater than the total of reading in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"uv_index\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001653", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lat, value, lon, level\n Sensor: air_quality | fields: value, depth, reading, level\nTask: Fetch level from lightning that have at least one corresponding air_quality measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "level", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001654", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: level, depth, reading, unit\n Sensor: humidity | fields: type, depth, reading, unit\nTask: Get level from cloud_cover where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "level", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001655", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: ts, value, unit, depth\n Sensor: lightning | fields: lat, lon, ts, qc\nTask: Get value from snow_depth where a corresponding entry exists in lightning with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "value", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001656", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: ts, lat, value, type\n Sensor: rainfall | fields: lat, qc, unit, depth\nTask: Retrieve value from turbidity that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001657", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: qc, type, level, lat\n Sensor: air_quality | fields: depth, reading, ts, value\nTask: Fetch level from visibility where type exists in air_quality sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001658", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: level, value, lat, lon\n Sensor: lightning | fields: depth, lon, qc, type\nTask: Get lat from wind_speed where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lat", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001659", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: unit, level, lon, reading\n Sensor: dew_point | fields: type, reading, lon, value\nTask: Get value from soil_moisture where depth exceeds the average depth from dew_point for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"dew_point\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001660", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: reading, qc, value, lat\n Sensor: cloud_cover | fields: level, depth, ts, value\nTask: Fetch depth from soil_moisture where reading is greater than the count of of value in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"cloud_cover\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001661", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: level, ts, type, lat\n Sensor: turbidity | fields: qc, reading, value, lat\nTask: Fetch lat from air_quality that have at least one corresponding turbidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001662", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lon, value, qc, lat\n Sensor: dew_point | fields: type, lon, value, lat\nTask: Retrieve depth from uv_index with value above the SUM(depth) of dew_point readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"dew_point\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001663", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: level, reading, type, ts\n Sensor: pressure | fields: reading, qc, ts, type\nTask: Get lon from wind_speed where depth appears in pressure readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001664", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: reading, value, lon, type\n Sensor: cloud_cover | fields: type, ts, lon, qc\nTask: Fetch lon from rainfall that have at least one corresponding cloud_cover measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001665", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: level, ts, depth, value\n Sensor: uv_index | fields: type, depth, unit, ts\nTask: Retrieve depth from snow_depth that have at least one matching reading in uv_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001666", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: level, depth, qc, type\n Sensor: lightning | fields: depth, qc, unit, value\nTask: Retrieve reading from snow_depth whose unit is found in lightning records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001667", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: reading, level, depth, qc\n Sensor: pressure | fields: level, depth, qc, unit\nTask: Get value from temperature where a corresponding entry exists in pressure with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001668", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: value, depth, level, reading\n Sensor: lightning | fields: lat, reading, value, qc\nTask: Retrieve value from snow_depth whose unit is found in lightning records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001669", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: lat, level, reading, depth\n Sensor: sunlight | fields: qc, lat, reading, type\nTask: Get lat from cloud_cover where qc appears in sunlight readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001670", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: ts, level, depth, value\n Sensor: wind_speed | fields: type, ts, reading, lon\nTask: Fetch value from pressure where depth exists in wind_speed sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001671", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: unit, level, type, depth\n Sensor: cloud_cover | fields: depth, lat, lon, level\nTask: Get lon from uv_index where reading exceeds the average value from cloud_cover for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"cloud_cover\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001672", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: lat, type, reading, qc\n Sensor: dew_point | fields: unit, depth, lon, lat\nTask: Fetch depth from rainfall where depth is greater than the average of value in dew_point for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"dew_point\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001673", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: lon, depth, ts, unit\n Sensor: wind_speed | fields: unit, lat, lon, depth\nTask: Retrieve lon from sunlight with reading above the MIN(reading) of wind_speed readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001674", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: type, level, reading, depth\n Sensor: drought_index | fields: value, lon, type, unit\nTask: Get lat from rainfall where depth exceeds the total value from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"drought_index\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001675", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: ts, level, value, depth\n Sensor: frost | fields: level, reading, type, lat\nTask: Fetch value from rainfall where depth is greater than the count of of depth in frost for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001676", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: ts, value, level, lat\n Sensor: humidity | fields: depth, lat, type, level\nTask: Get value from lightning where a corresponding entry exists in humidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "value", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001677", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lat, lon, value, depth\n Sensor: temperature | fields: depth, ts, qc, level\nTask: Get depth from frost where a corresponding entry exists in temperature with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001678", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: reading, lon, depth, lat\n Sensor: wind_speed | fields: ts, lon, level, type\nTask: Get depth from air_quality where value exceeds the total reading from wind_speed for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001679", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: qc, reading, level, value\n Sensor: pressure | fields: ts, depth, value, unit\nTask: Fetch depth from temperature where reading is greater than the average of reading in pressure for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"pressure\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001680", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: unit, lon, value, lat\n Sensor: snow_depth | fields: reading, qc, type, level\nTask: Fetch depth from pressure that have at least one corresponding snow_depth measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001681", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: unit, ts, value, lon\n Sensor: frost | fields: ts, lon, level, reading\nTask: Retrieve lat from drought_index that have at least one matching reading in frost sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lat", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001682", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: depth, type, level, unit\n Sensor: rainfall | fields: level, type, ts, unit\nTask: Retrieve lat from drought_index that have at least one matching reading in rainfall sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lat", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001683", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: unit, reading, qc, lon\n Sensor: evaporation | fields: type, depth, ts, value\nTask: Get reading from pressure where type appears in evaporation readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001684", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: unit, lon, reading, level\n Sensor: uv_index | fields: depth, ts, unit, reading\nTask: Get reading from frost where depth exceeds the total value from uv_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"uv_index\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001685", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: qc, lon, unit, ts\n Sensor: turbidity | fields: lon, level, type, unit\nTask: Retrieve depth from evaporation whose ts is found in turbidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001686", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: depth, lon, value, reading\n Sensor: turbidity | fields: level, depth, ts, unit\nTask: Get level from drought_index where depth exceeds the minimum reading from turbidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"turbidity\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001687", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: unit, depth, lon, level\n Sensor: lightning | fields: lon, unit, qc, value\nTask: Get lon from sunlight where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001688", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: value, depth, unit, qc\n Sensor: cloud_cover | fields: reading, level, lon, depth\nTask: Retrieve value from evaporation whose type is found in cloud_cover records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001689", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: value, lat, unit, level\n Sensor: frost | fields: ts, qc, depth, lon\nTask: Get level from uv_index where unit appears in frost readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001690", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: qc, level, ts, lon\n Sensor: drought_index | fields: level, unit, lat, reading\nTask: Fetch reading from humidity that have at least one corresponding drought_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "reading", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001691", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: type, reading, ts, level\n Sensor: humidity | fields: lon, value, reading, lat\nTask: Retrieve lon from wind_speed whose depth is found in humidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001692", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lon, type, level, depth\n Sensor: wind_speed | fields: unit, lon, depth, level\nTask: Fetch lat from temperature that have at least one corresponding wind_speed measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lat", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001693", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: depth, qc, unit, level\n Sensor: rainfall | fields: level, unit, value, lat\nTask: Retrieve depth from pressure whose type is found in rainfall records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001694", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lat, ts, depth, qc\n Sensor: rainfall | fields: type, depth, unit, lon\nTask: Fetch reading from visibility where depth exists in rainfall sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001695", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: depth, ts, value, reading\n Sensor: turbidity | fields: reading, unit, qc, lat\nTask: Get level from wind_speed where reading exceeds the minimum value from turbidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"turbidity\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001696", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: lat, level, ts, type\n Sensor: temperature | fields: depth, type, unit, reading\nTask: Fetch depth from turbidity where depth exists in temperature sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001697", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: lat, lon, type, unit\n Sensor: pressure | fields: value, lat, type, reading\nTask: Get lat from lightning where value exceeds the average value from pressure for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001698", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: value, type, qc, unit\n Sensor: soil_moisture | fields: type, depth, ts, value\nTask: Get lon from turbidity where value exceeds the maximum depth from soil_moisture for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001699", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: type, unit, reading, value\n Sensor: soil_moisture | fields: reading, qc, lat, type\nTask: Get reading from snow_depth where a corresponding entry exists in soil_moisture with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001700", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: ts, lat, qc, level\n Sensor: visibility | fields: level, unit, qc, depth\nTask: Get lat from snow_depth where a corresponding entry exists in visibility with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lat", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001701", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: depth, ts, qc, type\n Sensor: cloud_cover | fields: value, reading, unit, ts\nTask: Retrieve value from temperature with reading above the MIN(value) of cloud_cover readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"cloud_cover\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001702", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: type, lon, lat, depth\n Sensor: lightning | fields: qc, type, reading, ts\nTask: Retrieve value from temperature with depth above the AVG(reading) of lightning readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"lightning\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001703", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: reading, lat, depth, value\n Sensor: sunlight | fields: qc, lat, type, level\nTask: Get reading from uv_index where value exceeds the maximum depth from sunlight for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001704", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: ts, lat, depth, reading\n Sensor: wind_speed | fields: lon, qc, depth, value\nTask: Fetch lon from dew_point where value is greater than the minimum of depth in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001705", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: level, qc, lon, value\n Sensor: sunlight | fields: lat, lon, unit, type\nTask: Get reading from air_quality where depth appears in sunlight readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001706", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: unit, reading, lat, lon\n Sensor: visibility | fields: lon, unit, lat, reading\nTask: Get lat from rainfall where qc appears in visibility readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001707", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lon, unit, type, lat\n Sensor: sunlight | fields: unit, lat, ts, lon\nTask: Retrieve depth from soil_moisture with reading above the MIN(depth) of sunlight readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"sunlight\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001708", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: unit, reading, lon, lat\n Sensor: pressure | fields: unit, level, ts, lon\nTask: Fetch level from visibility that have at least one corresponding pressure measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001709", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: depth, level, lat, value\n Sensor: pressure | fields: lat, unit, reading, qc\nTask: Retrieve lon from temperature that have at least one matching reading in pressure sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001710", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: qc, lat, depth, ts\n Sensor: lightning | fields: type, ts, lat, depth\nTask: Get lat from evaporation where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lat", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001711", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: unit, qc, type, ts\n Sensor: pressure | fields: value, depth, lon, qc\nTask: Fetch lon from rainfall where depth exists in pressure sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001712", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: level, type, reading, lon\n Sensor: uv_index | fields: level, qc, reading, ts\nTask: Fetch lat from soil_moisture where type exists in uv_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001713", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: reading, lat, qc, ts\n Sensor: frost | fields: type, qc, lat, reading\nTask: Fetch value from rainfall where type exists in frost sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001714", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: type, qc, value, unit\n Sensor: temperature | fields: value, reading, lat, lon\nTask: Fetch value from snow_depth where qc exists in temperature sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001715", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lon, qc, ts, depth\n Sensor: wind_speed | fields: lat, type, depth, value\nTask: Retrieve reading from lightning that have at least one matching reading in wind_speed sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "reading", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001716", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: lon, lat, depth, type\n Sensor: rainfall | fields: level, depth, unit, qc\nTask: Fetch lon from cloud_cover where reading is greater than the maximum of depth in rainfall for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"rainfall\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001717", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: depth, qc, type, value\n Sensor: uv_index | fields: lat, reading, unit, level\nTask: Get value from sunlight where depth appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001718", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: type, lon, value, ts\n Sensor: evaporation | fields: ts, reading, value, unit\nTask: Retrieve reading from turbidity whose qc is found in evaporation records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001719", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: unit, depth, reading, level\n Sensor: soil_moisture | fields: reading, type, depth, lon\nTask: Retrieve reading from dew_point whose depth is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001720", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: unit, value, type, level\n Sensor: sunlight | fields: value, depth, unit, lon\nTask: Retrieve level from cloud_cover whose type is found in sunlight records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001721", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: qc, ts, depth, reading\n Sensor: soil_moisture | fields: ts, type, value, qc\nTask: Fetch lon from pressure that have at least one corresponding soil_moisture measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lon", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001722", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: unit, lon, type, depth\n Sensor: pressure | fields: type, depth, unit, ts\nTask: Get lon from turbidity where ts appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001723", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: value, level, type, unit\n Sensor: frost | fields: type, lon, reading, lat\nTask: Get level from temperature where a corresponding entry exists in frost with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001724", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: ts, qc, depth, unit\n Sensor: visibility | fields: level, qc, type, unit\nTask: Fetch lat from humidity that have at least one corresponding visibility measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001725", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: value, ts, lat, reading\n Sensor: wind_speed | fields: lon, value, unit, type\nTask: Get lat from visibility where depth exceeds the maximum depth from wind_speed for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"wind_speed\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001726", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: type, lat, value, unit\n Sensor: humidity | fields: level, lon, ts, unit\nTask: Fetch value from snow_depth where reading is greater than the total of reading in humidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"humidity\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001727", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: lat, type, level, value\n Sensor: dew_point | fields: lon, ts, reading, type\nTask: Fetch lat from frost where value is greater than the average of depth in dew_point for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"dew_point\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001728", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: lat, lon, depth, qc\n Sensor: pressure | fields: type, unit, reading, depth\nTask: Get depth from humidity where ts appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001729", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lat, reading, value, depth\n Sensor: visibility | fields: lon, value, lat, unit\nTask: Retrieve level from temperature whose unit is found in visibility records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001730", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: lon, unit, type, reading\n Sensor: sunlight | fields: lon, reading, qc, unit\nTask: Fetch depth from pressure where reading is greater than the maximum of value in sunlight for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"sunlight\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001731", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: unit, reading, depth, level\n Sensor: rainfall | fields: depth, unit, value, lon\nTask: Get reading from sunlight where a corresponding entry exists in rainfall with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001732", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: unit, level, reading, type\n Sensor: lightning | fields: ts, unit, lat, value\nTask: Get reading from air_quality where type appears in lightning readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001733", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: unit, lon, qc, value\n Sensor: drought_index | fields: value, lon, ts, reading\nTask: Fetch lon from humidity where unit exists in drought_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001734", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lon, lat, depth, reading\n Sensor: drought_index | fields: reading, depth, type, lon\nTask: Fetch reading from lightning where qc exists in drought_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001735", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: lon, level, qc, lat\n Sensor: evaporation | fields: depth, lon, lat, reading\nTask: Get depth from drought_index where a corresponding entry exists in evaporation with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001736", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: unit, value, reading, ts\n Sensor: lightning | fields: type, unit, reading, level\nTask: Fetch level from drought_index that have at least one corresponding lightning measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001737", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: level, type, ts, lat\n Sensor: cloud_cover | fields: type, unit, value, level\nTask: Retrieve value from soil_moisture whose ts is found in cloud_cover records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001738", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: type, ts, unit, qc\n Sensor: lightning | fields: value, reading, ts, unit\nTask: Get lon from evaporation where reading exceeds the minimum reading from lightning for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"lightning\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001739", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: ts, reading, value, depth\n Sensor: wind_speed | fields: type, value, reading, ts\nTask: Retrieve value from uv_index whose type is found in wind_speed records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001740", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: type, lat, depth, ts\n Sensor: humidity | fields: ts, level, value, lat\nTask: Fetch depth from pressure where depth exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001741", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: lat, unit, lon, ts\n Sensor: soil_moisture | fields: depth, value, lon, level\nTask: Retrieve lon from dew_point whose unit is found in soil_moisture records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001742", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: depth, qc, type, reading\n Sensor: visibility | fields: lat, lon, unit, type\nTask: Retrieve reading from humidity whose type is found in visibility records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001743", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: level, lon, ts, depth\n Sensor: pressure | fields: value, unit, type, lon\nTask: Get depth from drought_index where a corresponding entry exists in pressure with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001744", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: value, level, depth, unit\n Sensor: turbidity | fields: unit, type, lat, depth\nTask: Fetch lat from temperature where depth exists in turbidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001745", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: reading, ts, lon, type\n Sensor: soil_moisture | fields: level, lat, reading, depth\nTask: Fetch value from turbidity that have at least one corresponding soil_moisture measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001746", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: type, lon, depth, qc\n Sensor: pressure | fields: depth, ts, qc, value\nTask: Fetch value from snow_depth that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "value", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001747", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: ts, type, level, lon\n Sensor: soil_moisture | fields: qc, type, lat, ts\nTask: Get reading from turbidity where a corresponding entry exists in soil_moisture with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001748", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: depth, reading, lon, ts\n Sensor: sunlight | fields: depth, lat, unit, reading\nTask: Get lat from soil_moisture where value exceeds the total depth from sunlight for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"sunlight\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001749", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: depth, lon, type, level\n Sensor: temperature | fields: lat, type, lon, qc\nTask: Get lat from dew_point where ts appears in temperature readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001750", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: reading, lat, depth, ts\n Sensor: air_quality | fields: value, level, type, reading\nTask: Get depth from dew_point where reading exceeds the total value from air_quality for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"air_quality\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001751", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: value, ts, unit, qc\n Sensor: sunlight | fields: depth, reading, value, unit\nTask: Retrieve lat from temperature with reading above the AVG(reading) of sunlight readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"sunlight\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001752", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lon, depth, level, ts\n Sensor: turbidity | fields: type, reading, value, lat\nTask: Retrieve depth from rainfall whose ts is found in turbidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001753", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: qc, value, unit, type\n Sensor: pressure | fields: unit, value, lat, depth\nTask: Get depth from humidity where depth appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001754", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: qc, lon, value, lat\n Sensor: wind_speed | fields: depth, ts, qc, reading\nTask: Fetch level from uv_index that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001755", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: level, unit, qc, lat\n Sensor: rainfall | fields: lon, depth, unit, value\nTask: Retrieve reading from sunlight with value above the MAX(reading) of rainfall readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"rainfall\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001756", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: unit, level, lat, lon\n Sensor: wind_speed | fields: level, depth, qc, unit\nTask: Get lat from drought_index where a corresponding entry exists in wind_speed with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001757", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: lat, depth, unit, value\n Sensor: frost | fields: ts, qc, unit, depth\nTask: Retrieve depth from snow_depth with depth above the MAX(depth) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"frost\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001758", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: ts, value, lat, reading\n Sensor: temperature | fields: reading, depth, unit, level\nTask: Get lon from snow_depth where depth exceeds the count of depth from temperature for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"temperature\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001759", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: qc, lon, type, reading\n Sensor: lightning | fields: lon, type, value, level\nTask: Get level from wind_speed where a corresponding entry exists in lightning with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "level", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001760", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: unit, reading, level, depth\n Sensor: pressure | fields: qc, reading, unit, depth\nTask: Fetch lat from dew_point where ts exists in pressure sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001761", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: depth, value, qc, ts\n Sensor: lightning | fields: qc, type, unit, ts\nTask: Fetch lat from evaporation where type exists in lightning sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001762", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: ts, reading, depth, value\n Sensor: drought_index | fields: unit, value, reading, ts\nTask: Retrieve depth from snow_depth with value above the SUM(reading) of drought_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001763", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: lon, reading, ts, lat\n Sensor: dew_point | fields: type, level, unit, value\nTask: Get lat from visibility where a corresponding entry exists in dew_point with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001764", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: type, reading, ts, unit\n Sensor: turbidity | fields: level, lat, type, depth\nTask: Retrieve lon from snow_depth with depth above the COUNT(value) of turbidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"turbidity\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001765", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: ts, qc, level, value\n Sensor: wind_speed | fields: lon, reading, depth, qc\nTask: Retrieve level from soil_moisture whose ts is found in wind_speed records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001766", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: ts, value, lon, type\n Sensor: turbidity | fields: reading, lat, depth, value\nTask: Retrieve level from drought_index that have at least one matching reading in turbidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001767", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: ts, lon, lat, reading\n Sensor: temperature | fields: lat, depth, reading, level\nTask: Fetch depth from lightning where value is greater than the count of of value in temperature for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"temperature\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001768", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: type, value, depth, qc\n Sensor: frost | fields: ts, qc, type, unit\nTask: Retrieve value from evaporation that have at least one matching reading in frost sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "value", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001769", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lon, level, unit, lat\n Sensor: humidity | fields: unit, lat, reading, level\nTask: Retrieve value from air_quality with depth above the AVG(value) of humidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"humidity\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001770", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: lat, reading, type, value\n Sensor: wind_speed | fields: qc, depth, ts, reading\nTask: Get lat from cloud_cover where a corresponding entry exists in wind_speed with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lat", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001771", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lat, type, lon, ts\n Sensor: lightning | fields: qc, lon, value, type\nTask: Get reading from visibility where a corresponding entry exists in lightning with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001772", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: depth, lon, reading, value\n Sensor: drought_index | fields: level, depth, value, lat\nTask: Retrieve depth from evaporation whose ts is found in drought_index records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001773", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: reading, type, value, depth\n Sensor: turbidity | fields: unit, reading, level, value\nTask: Fetch lat from air_quality that have at least one corresponding turbidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001774", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: ts, qc, level, lon\n Sensor: humidity | fields: ts, value, type, reading\nTask: Retrieve reading from snow_depth with value above the AVG(reading) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"humidity\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001775", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: type, lon, value, unit\n Sensor: air_quality | fields: level, lon, qc, unit\nTask: Retrieve level from temperature whose qc is found in air_quality records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001776", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: level, ts, type, qc\n Sensor: pressure | fields: depth, unit, lat, type\nTask: Retrieve lon from cloud_cover with value above the SUM(depth) of pressure readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001777", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lon, depth, unit, reading\n Sensor: evaporation | fields: depth, lon, ts, lat\nTask: Get lon from wind_speed where depth exceeds the minimum reading from evaporation for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"evaporation\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001778", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: value, reading, type, lon\n Sensor: wind_speed | fields: value, unit, lon, type\nTask: Fetch level from humidity where type exists in wind_speed sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001779", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: lat, reading, level, qc\n Sensor: soil_moisture | fields: ts, lat, unit, qc\nTask: Get depth from air_quality where reading exceeds the count of depth from soil_moisture for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001780", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: unit, value, level, lon\n Sensor: cloud_cover | fields: lon, type, lat, qc\nTask: Fetch reading from sunlight that have at least one corresponding cloud_cover measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001781", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: qc, ts, lon, value\n Sensor: sunlight | fields: lon, lat, level, type\nTask: Retrieve level from uv_index that have at least one matching reading in sunlight sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "level", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001782", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: depth, lat, reading, type\n Sensor: visibility | fields: unit, ts, depth, value\nTask: Fetch lon from cloud_cover that have at least one corresponding visibility measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lon", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001783", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: unit, reading, depth, value\n Sensor: drought_index | fields: type, depth, reading, lon\nTask: Get reading from rainfall where value exceeds the maximum reading from drought_index for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001784", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: qc, value, lon, reading\n Sensor: sunlight | fields: lat, value, qc, type\nTask: Get level from temperature where type appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001785", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: ts, reading, depth, level\n Sensor: soil_moisture | fields: unit, depth, ts, value\nTask: Fetch lon from wind_speed that have at least one corresponding soil_moisture measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lon", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001786", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: lon, ts, unit, qc\n Sensor: temperature | fields: level, depth, lon, lat\nTask: Fetch level from humidity where value is greater than the total of depth in temperature for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"temperature\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001787", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: lon, unit, level, lat\n Sensor: evaporation | fields: ts, unit, depth, value\nTask: Get lon from uv_index where qc appears in evaporation readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001788", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: level, lon, value, reading\n Sensor: cloud_cover | fields: unit, type, level, lon\nTask: Get depth from soil_moisture where a corresponding entry exists in cloud_cover with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001789", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: ts, type, qc, lat\n Sensor: rainfall | fields: unit, lon, depth, level\nTask: Get lon from soil_moisture where ts appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001790", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: depth, value, ts, type\n Sensor: temperature | fields: depth, qc, level, lon\nTask: Get lat from drought_index where a corresponding entry exists in temperature with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001791", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: value, lat, ts, depth\n Sensor: wind_speed | fields: type, qc, ts, lon\nTask: Retrieve lat from rainfall that have at least one matching reading in wind_speed sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001792", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: value, depth, lat, reading\n Sensor: temperature | fields: type, ts, unit, level\nTask: Retrieve value from turbidity that have at least one matching reading in temperature sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001793", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: reading, unit, lat, type\n Sensor: dew_point | fields: reading, unit, value, lat\nTask: Fetch lat from wind_speed where depth exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001794", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: ts, depth, unit, lon\n Sensor: wind_speed | fields: depth, value, lon, qc\nTask: Fetch level from pressure that have at least one corresponding wind_speed measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001795", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: value, reading, lon, level\n Sensor: uv_index | fields: lon, type, ts, depth\nTask: Get lon from temperature where a corresponding entry exists in uv_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001796", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: type, lon, value, level\n Sensor: evaporation | fields: ts, lat, unit, type\nTask: Retrieve reading from temperature whose depth is found in evaporation records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001797", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: value, lon, reading, unit\n Sensor: dew_point | fields: unit, reading, depth, type\nTask: Get lat from temperature where reading exceeds the average reading from dew_point for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"dew_point\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001798", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: ts, depth, lat, lon\n Sensor: snow_depth | fields: ts, lon, value, qc\nTask: Get depth from turbidity where reading exceeds the average value from snow_depth for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"snow_depth\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001799", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lon, level, qc, ts\n Sensor: dew_point | fields: unit, ts, value, type\nTask: Fetch lat from visibility where qc exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001800", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: level, lat, depth, type\n Sensor: pressure | fields: ts, lat, reading, qc\nTask: Retrieve reading from drought_index that have at least one matching reading in pressure sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001801", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: ts, depth, type, qc\n Sensor: evaporation | fields: unit, qc, level, reading\nTask: Get lon from wind_speed where a corresponding entry exists in evaporation with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001802", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: ts, level, qc, type\n Sensor: evaporation | fields: reading, depth, ts, value\nTask: Retrieve lat from wind_speed with depth above the AVG(value) of evaporation readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"evaporation\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001803", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: depth, ts, value, level\n Sensor: frost | fields: depth, ts, reading, unit\nTask: Retrieve depth from air_quality whose unit is found in frost records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001804", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lon, level, reading, value\n Sensor: uv_index | fields: depth, lon, qc, value\nTask: Get lat from rainfall where depth appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001805", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: value, ts, type, level\n Sensor: visibility | fields: qc, level, depth, type\nTask: Fetch value from sunlight that have at least one corresponding visibility measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001806", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: lat, ts, depth, value\n Sensor: frost | fields: depth, ts, unit, lat\nTask: Fetch depth from visibility where ts exists in frost sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001807", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: value, level, lat, qc\n Sensor: temperature | fields: depth, unit, qc, level\nTask: Get value from sunlight where qc appears in temperature readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001808", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lat, type, qc, ts\n Sensor: temperature | fields: qc, level, unit, lon\nTask: Fetch value from drought_index that have at least one corresponding temperature measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001809", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: type, lon, unit, level\n Sensor: dew_point | fields: ts, type, qc, unit\nTask: Get depth from rainfall where type appears in dew_point readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001810", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: depth, unit, lon, value\n Sensor: drought_index | fields: depth, type, level, value\nTask: Get reading from air_quality where qc appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001811", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: ts, value, qc, unit\n Sensor: soil_moisture | fields: unit, level, type, lat\nTask: Get depth from turbidity where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001812", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: reading, value, ts, type\n Sensor: frost | fields: lon, level, lat, value\nTask: Retrieve reading from air_quality with depth above the AVG(value) of frost readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"frost\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001813", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: depth, value, type, reading\n Sensor: snow_depth | fields: lon, reading, unit, lat\nTask: Retrieve reading from evaporation that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001814", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: ts, depth, qc, lat\n Sensor: visibility | fields: ts, depth, unit, lon\nTask: Get lon from dew_point where a corresponding entry exists in visibility with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001815", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: qc, unit, reading, value\n Sensor: sunlight | fields: type, unit, depth, value\nTask: Fetch depth from wind_speed where depth exists in sunlight sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001816", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lon, lat, level, reading\n Sensor: turbidity | fields: ts, depth, level, lat\nTask: Retrieve depth from dew_point that have at least one matching reading in turbidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001817", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: type, level, ts, qc\n Sensor: dew_point | fields: value, depth, lat, lon\nTask: Retrieve level from cloud_cover that have at least one matching reading in dew_point sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001818", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: level, qc, depth, lat\n Sensor: frost | fields: unit, level, qc, reading\nTask: Fetch value from wind_speed that have at least one corresponding frost measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001819", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: qc, value, reading, type\n Sensor: uv_index | fields: depth, qc, type, ts\nTask: Fetch depth from cloud_cover that have at least one corresponding uv_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001820", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: qc, value, ts, lon\n Sensor: dew_point | fields: lon, lat, value, reading\nTask: Fetch value from cloud_cover that have at least one corresponding dew_point measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "value", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001821", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: unit, lat, type, depth\n Sensor: turbidity | fields: level, ts, type, depth\nTask: Fetch level from temperature that have at least one corresponding turbidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "level", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001822", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: unit, qc, value, lon\n Sensor: turbidity | fields: qc, reading, value, level\nTask: Fetch lon from soil_moisture where reading is greater than the average of reading in turbidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"turbidity\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001823", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: reading, lon, ts, depth\n Sensor: cloud_cover | fields: ts, lat, level, unit\nTask: Fetch lat from wind_speed where type exists in cloud_cover sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001824", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: depth, lat, qc, ts\n Sensor: air_quality | fields: ts, value, reading, unit\nTask: Fetch value from snow_depth where depth exists in air_quality sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001825", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lat, type, depth, ts\n Sensor: evaporation | fields: value, qc, depth, lon\nTask: Fetch level from dew_point where depth is greater than the average of value in evaporation for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"evaporation\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001826", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: depth, reading, lon, ts\n Sensor: turbidity | fields: depth, qc, level, lon\nTask: Fetch reading from cloud_cover where reading is greater than the average of depth in turbidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"turbidity\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001827", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lon, lat, qc, depth\n Sensor: visibility | fields: value, type, depth, unit\nTask: Fetch reading from dew_point that have at least one corresponding visibility measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001828", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: unit, level, value, lon\n Sensor: temperature | fields: qc, reading, depth, unit\nTask: Get depth from cloud_cover where depth appears in temperature readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001829", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lon, type, level, lat\n Sensor: frost | fields: unit, depth, reading, qc\nTask: Retrieve lon from rainfall that have at least one matching reading in frost sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lon", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001830", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: depth, level, ts, lon\n Sensor: evaporation | fields: ts, value, depth, qc\nTask: Retrieve lon from rainfall with value above the SUM(reading) of evaporation readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"evaporation\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001831", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: lon, ts, level, lat\n Sensor: drought_index | fields: reading, lat, lon, depth\nTask: Fetch lon from air_quality where reading is greater than the average of reading in drought_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"drought_index\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001832", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: type, lat, ts, value\n Sensor: sunlight | fields: value, unit, reading, lat\nTask: Get reading from air_quality where a corresponding entry exists in sunlight with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001833", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: unit, ts, reading, qc\n Sensor: sunlight | fields: reading, lon, qc, depth\nTask: Fetch depth from temperature that have at least one corresponding sunlight measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001834", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: reading, unit, level, type\n Sensor: temperature | fields: lon, unit, qc, ts\nTask: Retrieve reading from humidity with value above the MAX(value) of temperature readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"temperature\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001835", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: lon, lat, reading, depth\n Sensor: uv_index | fields: qc, value, level, lon\nTask: Retrieve depth from cloud_cover with value above the SUM(depth) of uv_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"uv_index\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001836", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: value, lon, lat, depth\n Sensor: dew_point | fields: reading, ts, lat, qc\nTask: Fetch depth from sunlight where value is greater than the minimum of reading in dew_point for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"dew_point\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001837", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lat, value, reading, depth\n Sensor: wind_speed | fields: value, lon, ts, type\nTask: Get reading from drought_index where depth appears in wind_speed readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001838", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: ts, unit, value, depth\n Sensor: sunlight | fields: lat, ts, reading, qc\nTask: Fetch lon from cloud_cover where value is greater than the maximum of depth in sunlight for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"sunlight\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001839", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: qc, type, lat, lon\n Sensor: visibility | fields: lat, level, value, depth\nTask: Fetch value from snow_depth where depth is greater than the total of depth in visibility for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"visibility\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001840", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: depth, ts, lon, level\n Sensor: visibility | fields: lat, reading, type, level\nTask: Get lon from lightning where ts appears in visibility readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001841", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: lat, ts, unit, reading\n Sensor: turbidity | fields: lon, ts, value, depth\nTask: Fetch depth from snow_depth that have at least one corresponding turbidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001842", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: reading, value, lon, qc\n Sensor: dew_point | fields: value, reading, type, unit\nTask: Fetch reading from humidity that have at least one corresponding dew_point measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001843", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: type, depth, qc, unit\n Sensor: evaporation | fields: reading, lat, depth, unit\nTask: Fetch reading from uv_index that have at least one corresponding evaporation measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001844", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: unit, ts, level, qc\n Sensor: sunlight | fields: type, depth, level, ts\nTask: Fetch reading from soil_moisture that have at least one corresponding sunlight measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001845", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: lon, type, qc, depth\n Sensor: dew_point | fields: value, lat, qc, reading\nTask: Get lon from visibility where depth appears in dew_point readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001846", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: value, reading, lat, qc\n Sensor: soil_moisture | fields: lon, level, qc, value\nTask: Get value from sunlight where reading exceeds the count of value from soil_moisture for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"soil_moisture\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001847", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: unit, lat, qc, ts\n Sensor: dew_point | fields: reading, value, level, qc\nTask: Get lon from snow_depth where reading exceeds the minimum reading from dew_point for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"dew_point\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001848", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: unit, qc, depth, ts\n Sensor: uv_index | fields: reading, unit, qc, ts\nTask: Fetch lon from snow_depth where value is greater than the count of of value in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"uv_index\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001849", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: reading, qc, lon, depth\n Sensor: uv_index | fields: ts, unit, lon, depth\nTask: Get value from cloud_cover where type appears in uv_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001850", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: depth, ts, unit, level\n Sensor: lightning | fields: qc, unit, type, reading\nTask: Get lon from temperature where type appears in lightning readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001851", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: ts, reading, unit, depth\n Sensor: visibility | fields: unit, lat, qc, type\nTask: Retrieve lat from drought_index with value above the MIN(reading) of visibility readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001852", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: level, depth, lat, ts\n Sensor: evaporation | fields: lat, depth, value, type\nTask: Get depth from drought_index where type appears in evaporation readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001853", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: unit, lon, qc, value\n Sensor: snow_depth | fields: qc, reading, lat, lon\nTask: Fetch value from cloud_cover where reading is greater than the total of reading in snow_depth for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"snow_depth\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001854", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: value, type, lon, level\n Sensor: uv_index | fields: level, unit, lat, type\nTask: Get level from turbidity where a corresponding entry exists in uv_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "level", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001855", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lon, unit, value, qc\n Sensor: snow_depth | fields: value, qc, unit, lat\nTask: Get lon from evaporation where a corresponding entry exists in snow_depth with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001856", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lon, ts, lat, type\n Sensor: frost | fields: lat, reading, value, ts\nTask: Get level from dew_point where depth exceeds the minimum value from frost for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"frost\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001857", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: value, lat, reading, type\n Sensor: air_quality | fields: lat, depth, type, value\nTask: Fetch lat from sunlight that have at least one corresponding air_quality measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001858", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lat, qc, unit, reading\n Sensor: drought_index | fields: qc, lon, value, type\nTask: Get depth from rainfall where ts appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001859", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: ts, lon, reading, qc\n Sensor: humidity | fields: qc, value, lat, level\nTask: Get lat from wind_speed where unit appears in humidity readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001860", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: type, lat, reading, unit\n Sensor: wind_speed | fields: type, ts, unit, lat\nTask: Fetch depth from sunlight where value is greater than the average of value in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001861", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: value, depth, qc, ts\n Sensor: evaporation | fields: depth, type, lat, ts\nTask: Get lat from temperature where a corresponding entry exists in evaporation with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lat", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001862", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: level, lat, lon, reading\n Sensor: evaporation | fields: type, ts, reading, level\nTask: Retrieve level from visibility whose ts is found in evaporation records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001863", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: type, unit, reading, level\n Sensor: humidity | fields: lat, value, unit, reading\nTask: Get level from drought_index where type appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001864", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: reading, unit, lon, level\n Sensor: lightning | fields: value, depth, reading, lat\nTask: Fetch lat from pressure where type exists in lightning sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001865", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: ts, lat, value, lon\n Sensor: drought_index | fields: level, unit, lat, reading\nTask: Retrieve reading from lightning that have at least one matching reading in drought_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "reading", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001866", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: depth, value, qc, reading\n Sensor: turbidity | fields: level, reading, value, lon\nTask: Get level from evaporation where reading exceeds the average reading from turbidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"turbidity\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001867", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: type, ts, qc, unit\n Sensor: uv_index | fields: value, reading, type, level\nTask: Retrieve lon from pressure that have at least one matching reading in uv_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001868", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: value, type, qc, lat\n Sensor: turbidity | fields: lon, value, qc, depth\nTask: Fetch lon from sunlight where value is greater than the average of depth in turbidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"turbidity\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001869", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: value, unit, ts, depth\n Sensor: temperature | fields: depth, value, unit, type\nTask: Fetch level from visibility that have at least one corresponding temperature measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001870", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: lat, value, unit, type\n Sensor: rainfall | fields: value, unit, lat, level\nTask: Fetch lat from dew_point where value is greater than the maximum of reading in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"rainfall\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001871", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lon, lat, ts, type\n Sensor: dew_point | fields: lon, unit, qc, ts\nTask: Get depth from wind_speed where depth exceeds the count of depth from dew_point for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"dew_point\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001872", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: depth, type, value, ts\n Sensor: lightning | fields: level, depth, ts, value\nTask: Retrieve value from dew_point that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001873", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: depth, lat, unit, qc\n Sensor: visibility | fields: level, reading, ts, unit\nTask: Retrieve level from frost whose type is found in visibility records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001874", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: type, qc, lat, value\n Sensor: humidity | fields: type, depth, ts, lat\nTask: Fetch lon from evaporation where depth is greater than the maximum of depth in humidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001875", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: unit, reading, lon, depth\n Sensor: air_quality | fields: depth, lon, qc, reading\nTask: Retrieve depth from soil_moisture whose type is found in air_quality records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001876", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: value, reading, lon, unit\n Sensor: lightning | fields: qc, value, ts, reading\nTask: Retrieve reading from sunlight with depth above the MIN(reading) of lightning readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"lightning\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001877", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lat, ts, lon, depth\n Sensor: air_quality | fields: depth, unit, reading, type\nTask: Retrieve reading from evaporation that have at least one matching reading in air_quality sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "reading", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001878", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: lon, lat, type, value\n Sensor: drought_index | fields: unit, depth, qc, lat\nTask: Get value from frost where a corresponding entry exists in drought_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001879", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: reading, value, type, level\n Sensor: evaporation | fields: type, qc, ts, lat\nTask: Retrieve lon from temperature with reading above the MAX(reading) of evaporation readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"evaporation\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001880", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: level, reading, type, lat\n Sensor: rainfall | fields: level, type, lat, lon\nTask: Get lat from turbidity where reading exceeds the count of value from rainfall for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"rainfall\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001881", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: depth, value, level, lon\n Sensor: humidity | fields: lat, qc, type, level\nTask: Fetch level from visibility where unit exists in humidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001882", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: reading, level, lat, lon\n Sensor: dew_point | fields: lat, level, ts, qc\nTask: Fetch reading from lightning that have at least one corresponding dew_point measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "reading", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001883", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: type, unit, lon, reading\n Sensor: dew_point | fields: lon, level, ts, qc\nTask: Retrieve lat from pressure with reading above the MIN(value) of dew_point readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"dew_point\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001884", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: value, lon, reading, level\n Sensor: pressure | fields: ts, reading, level, qc\nTask: Get lon from drought_index where value exceeds the count of reading from pressure for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"pressure\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001885", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lon, type, level, lat\n Sensor: air_quality | fields: ts, value, reading, depth\nTask: Fetch value from dew_point that have at least one corresponding air_quality measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001886", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: depth, type, qc, ts\n Sensor: humidity | fields: type, lon, level, value\nTask: Retrieve depth from rainfall that have at least one matching reading in humidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001887", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: unit, reading, ts, depth\n Sensor: air_quality | fields: unit, type, lat, lon\nTask: Retrieve reading from frost whose ts is found in air_quality records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "ts", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001888", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: ts, level, qc, type\n Sensor: turbidity | fields: value, type, reading, unit\nTask: Get value from frost where a corresponding entry exists in turbidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001889", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: value, depth, ts, type\n Sensor: visibility | fields: value, qc, lon, reading\nTask: Fetch lat from cloud_cover where unit exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001890", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lon, depth, reading, value\n Sensor: lightning | fields: reading, qc, type, unit\nTask: Fetch reading from soil_moisture where reading is greater than the minimum of depth in lightning for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"lightning\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001891", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: type, qc, lon, ts\n Sensor: dew_point | fields: value, ts, reading, lat\nTask: Get value from frost where a corresponding entry exists in dew_point with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001892", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: depth, level, lat, value\n Sensor: snow_depth | fields: qc, type, lon, reading\nTask: Get lon from air_quality where reading exceeds the minimum depth from snow_depth for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"snow_depth\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001893", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: lon, reading, type, level\n Sensor: lightning | fields: reading, depth, ts, lon\nTask: Get level from cloud_cover where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001894", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lat, reading, depth, value\n Sensor: evaporation | fields: depth, type, lat, reading\nTask: Get depth from dew_point where depth exceeds the maximum reading from evaporation for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001895", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: ts, reading, unit, qc\n Sensor: frost | fields: lat, ts, qc, value\nTask: Get lat from cloud_cover where value exceeds the average depth from frost for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"frost\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001896", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: unit, depth, qc, lon\n Sensor: frost | fields: level, lat, ts, reading\nTask: Get value from turbidity where reading exceeds the minimum depth from frost for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"frost\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001897", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: type, value, lat, qc\n Sensor: humidity | fields: lat, level, reading, depth\nTask: Fetch lon from pressure where reading is greater than the count of of depth in humidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"humidity\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001898", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: type, ts, level, unit\n Sensor: soil_moisture | fields: level, type, qc, depth\nTask: Fetch lon from visibility where depth exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001899", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: value, level, qc, ts\n Sensor: lightning | fields: depth, type, lat, unit\nTask: Fetch depth from humidity where ts exists in lightning sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001900", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: reading, lon, level, value\n Sensor: turbidity | fields: unit, type, value, reading\nTask: Fetch depth from lightning where ts exists in turbidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001901", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: lon, depth, unit, qc\n Sensor: sunlight | fields: type, ts, qc, level\nTask: Retrieve depth from frost with value above the SUM(value) of sunlight readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"sunlight\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001902", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: qc, lat, reading, lon\n Sensor: lightning | fields: ts, value, reading, lat\nTask: Fetch reading from evaporation that have at least one corresponding lightning measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001903", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: reading, qc, ts, level\n Sensor: humidity | fields: lon, unit, ts, depth\nTask: Get lat from pressure where ts appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001904", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: ts, reading, lat, qc\n Sensor: temperature | fields: lon, unit, lat, ts\nTask: Retrieve lon from turbidity whose unit is found in temperature records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001905", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: reading, qc, level, unit\n Sensor: dew_point | fields: depth, value, lat, type\nTask: Retrieve value from soil_moisture with depth above the MAX(depth) of dew_point readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"dew_point\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001906", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lon, depth, lat, type\n Sensor: frost | fields: lon, type, depth, level\nTask: Retrieve reading from pressure whose depth is found in frost records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001907", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: ts, type, lat, reading\n Sensor: uv_index | fields: level, unit, lat, reading\nTask: Retrieve value from lightning whose type is found in uv_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001908", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: value, level, lat, depth\n Sensor: humidity | fields: value, type, reading, lat\nTask: Fetch reading from soil_moisture that have at least one corresponding humidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001909", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: unit, value, reading, level\n Sensor: uv_index | fields: reading, type, qc, lat\nTask: Retrieve value from rainfall whose ts is found in uv_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001910", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lon, type, level, value\n Sensor: turbidity | fields: lat, unit, lon, type\nTask: Retrieve lon from air_quality whose unit is found in turbidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001911", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lat, lon, ts, reading\n Sensor: frost | fields: reading, depth, level, unit\nTask: Get depth from soil_moisture where reading exceeds the count of depth from frost for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001912", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: ts, qc, lat, type\n Sensor: air_quality | fields: unit, level, reading, lon\nTask: Fetch lon from dew_point where ts exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001913", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: type, qc, ts, value\n Sensor: humidity | fields: qc, lon, value, reading\nTask: Fetch level from frost where ts exists in humidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001914", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: value, depth, level, type\n Sensor: visibility | fields: unit, type, lon, depth\nTask: Get lat from wind_speed where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001915", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lon, unit, value, depth\n Sensor: pressure | fields: level, ts, reading, value\nTask: Fetch level from snow_depth where value is greater than the total of depth in pressure for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001916", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: lon, ts, depth, level\n Sensor: snow_depth | fields: reading, lon, qc, type\nTask: Get lat from cloud_cover where reading exceeds the average value from snow_depth for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"snow_depth\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001917", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: lat, type, lon, qc\n Sensor: snow_depth | fields: level, depth, type, ts\nTask: Get reading from frost where a corresponding entry exists in snow_depth with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001918", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lon, qc, type, reading\n Sensor: temperature | fields: reading, value, unit, depth\nTask: Retrieve lon from turbidity whose unit is found in temperature records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001919", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: depth, lat, unit, qc\n Sensor: evaporation | fields: qc, unit, reading, lat\nTask: Fetch reading from drought_index where qc exists in evaporation sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001920", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: qc, lon, level, lat\n Sensor: evaporation | fields: lat, type, unit, lon\nTask: Get level from lightning where reading exceeds the average depth from evaporation for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"evaporation\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001921", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: level, lat, reading, ts\n Sensor: dew_point | fields: qc, lon, type, value\nTask: Fetch lon from soil_moisture where ts exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001922", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: type, level, value, ts\n Sensor: visibility | fields: type, lon, qc, ts\nTask: Fetch lat from dew_point where depth is greater than the minimum of reading in visibility for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"visibility\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001923", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: qc, value, lon, depth\n Sensor: rainfall | fields: type, qc, unit, value\nTask: Fetch level from turbidity where depth is greater than the minimum of depth in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"rainfall\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001924", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: qc, ts, unit, value\n Sensor: soil_moisture | fields: reading, qc, ts, value\nTask: Get reading from drought_index where value exceeds the count of value from soil_moisture for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"soil_moisture\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001925", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: value, level, lat, ts\n Sensor: drought_index | fields: qc, unit, level, reading\nTask: Get lat from lightning where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001926", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: reading, ts, level, value\n Sensor: sunlight | fields: value, lat, type, unit\nTask: Get lon from evaporation where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001927", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: lon, ts, unit, lat\n Sensor: air_quality | fields: level, depth, value, unit\nTask: Get lat from soil_moisture where depth appears in air_quality readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001928", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lon, qc, value, reading\n Sensor: visibility | fields: unit, type, reading, lon\nTask: Retrieve depth from pressure with reading above the AVG(reading) of visibility readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"visibility\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001929", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: lon, unit, type, lat\n Sensor: frost | fields: lon, unit, qc, reading\nTask: Retrieve depth from visibility that have at least one matching reading in frost sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001930", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: type, level, unit, qc\n Sensor: lightning | fields: reading, type, ts, lon\nTask: Retrieve value from uv_index whose ts is found in lightning records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001931", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: value, lon, qc, type\n Sensor: air_quality | fields: level, depth, qc, unit\nTask: Retrieve reading from sunlight that have at least one matching reading in air_quality sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001932", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: level, ts, unit, depth\n Sensor: soil_moisture | fields: value, lon, reading, qc\nTask: Fetch level from evaporation where depth exists in soil_moisture sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001933", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: depth, value, unit, level\n Sensor: rainfall | fields: level, unit, lon, type\nTask: Fetch value from pressure that have at least one corresponding rainfall measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001934", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: lon, qc, value, level\n Sensor: wind_speed | fields: lon, depth, type, unit\nTask: Retrieve lon from frost whose type is found in wind_speed records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001935", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: qc, reading, lon, depth\n Sensor: frost | fields: level, unit, lat, qc\nTask: Retrieve lat from cloud_cover that have at least one matching reading in frost sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001936", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: value, qc, reading, lon\n Sensor: lightning | fields: qc, level, lat, unit\nTask: Retrieve lat from uv_index whose ts is found in lightning records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001937", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lon, ts, value, level\n Sensor: temperature | fields: reading, ts, lat, depth\nTask: Retrieve reading from rainfall with value above the MAX(depth) of temperature readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"temperature\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001938", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: ts, reading, qc, unit\n Sensor: sunlight | fields: unit, depth, level, type\nTask: Retrieve depth from rainfall whose unit is found in sunlight records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001939", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: reading, qc, lat, type\n Sensor: sunlight | fields: unit, type, ts, level\nTask: Fetch value from snow_depth where reading is greater than the maximum of reading in sunlight for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"sunlight\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001940", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: unit, lon, lat, depth\n Sensor: turbidity | fields: lat, ts, value, qc\nTask: Get depth from frost where type appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001941", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: reading, lon, lat, unit\n Sensor: evaporation | fields: value, unit, lon, level\nTask: Get lon from dew_point where qc appears in evaporation readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001942", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: lat, lon, qc, level\n Sensor: rainfall | fields: depth, type, unit, lat\nTask: Fetch value from turbidity where value is greater than the maximum of depth in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"rainfall\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001943", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: type, level, qc, value\n Sensor: frost | fields: lat, ts, type, reading\nTask: Fetch reading from wind_speed that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "reading", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001944", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: value, level, depth, type\n Sensor: turbidity | fields: ts, value, type, level\nTask: Get depth from wind_speed where unit appears in turbidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001945", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: reading, unit, ts, depth\n Sensor: visibility | fields: qc, ts, level, depth\nTask: Get lon from air_quality where depth exceeds the minimum reading from visibility for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001946", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: value, type, ts, reading\n Sensor: sunlight | fields: unit, lat, reading, type\nTask: Fetch value from evaporation where unit exists in sunlight sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001947", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: lon, qc, ts, depth\n Sensor: cloud_cover | fields: type, depth, level, lon\nTask: Get reading from uv_index where depth exceeds the minimum value from cloud_cover for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"cloud_cover\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001948", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: value, unit, reading, depth\n Sensor: frost | fields: unit, depth, ts, lat\nTask: Retrieve depth from visibility that have at least one matching reading in frost sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001949", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lon, reading, level, qc\n Sensor: turbidity | fields: type, qc, lon, unit\nTask: Get lon from rainfall where a corresponding entry exists in turbidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lon", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001950", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: level, value, lon, depth\n Sensor: humidity | fields: depth, lat, level, unit\nTask: Get value from turbidity where depth exceeds the average reading from humidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"humidity\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001951", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: unit, level, ts, type\n Sensor: temperature | fields: type, depth, reading, qc\nTask: Retrieve lat from air_quality that have at least one matching reading in temperature sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lat", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001952", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: unit, level, lon, depth\n Sensor: cloud_cover | fields: level, lon, ts, qc\nTask: Fetch depth from turbidity where depth is greater than the total of reading in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001953", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: lon, reading, qc, lat\n Sensor: rainfall | fields: reading, lon, value, unit\nTask: Fetch lon from sunlight where reading is greater than the total of reading in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"rainfall\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001954", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: value, lat, unit, type\n Sensor: dew_point | fields: lat, qc, lon, type\nTask: Get level from drought_index where a corresponding entry exists in dew_point with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "level", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001955", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: qc, unit, level, ts\n Sensor: air_quality | fields: value, level, qc, reading\nTask: Get lon from humidity where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001956", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: level, value, qc, type\n Sensor: rainfall | fields: type, lon, ts, qc\nTask: Fetch depth from wind_speed where reading is greater than the maximum of reading in rainfall for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"rainfall\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001957", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: depth, lat, level, ts\n Sensor: air_quality | fields: depth, reading, unit, qc\nTask: Fetch reading from wind_speed where value is greater than the count of of reading in air_quality for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"air_quality\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001958", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lon, qc, lat, type\n Sensor: lightning | fields: type, qc, value, ts\nTask: Retrieve lon from turbidity with reading above the SUM(value) of lightning readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001959", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: lat, type, unit, lon\n Sensor: evaporation | fields: reading, type, lon, lat\nTask: Retrieve depth from uv_index whose depth is found in evaporation records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001960", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: value, qc, ts, reading\n Sensor: rainfall | fields: unit, lon, depth, reading\nTask: Fetch value from frost where depth exists in rainfall sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001961", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: depth, ts, lon, type\n Sensor: humidity | fields: depth, qc, unit, lon\nTask: Get reading from soil_moisture where a corresponding entry exists in humidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "reading", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001962", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: type, unit, ts, value\n Sensor: temperature | fields: type, ts, value, level\nTask: Retrieve reading from sunlight whose unit is found in temperature records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001963", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: level, lat, value, lon\n Sensor: cloud_cover | fields: qc, reading, lon, type\nTask: Fetch lon from temperature that have at least one corresponding cloud_cover measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001964", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: unit, qc, level, ts\n Sensor: lightning | fields: qc, value, type, reading\nTask: Retrieve reading from evaporation whose unit is found in lightning records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001965", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: lat, depth, level, lon\n Sensor: snow_depth | fields: ts, qc, lon, lat\nTask: Fetch level from wind_speed where depth exists in snow_depth sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001966", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: ts, qc, type, reading\n Sensor: wind_speed | fields: lon, qc, lat, ts\nTask: Get value from snow_depth where type appears in wind_speed readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001967", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: level, lat, reading, lon\n Sensor: pressure | fields: ts, unit, qc, depth\nTask: Get level from turbidity where ts appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001968", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lon, level, ts, type\n Sensor: dew_point | fields: level, lat, reading, value\nTask: Fetch depth from turbidity where reading is greater than the average of depth in dew_point for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"dew_point\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001969", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: unit, depth, lat, reading\n Sensor: frost | fields: type, level, lat, value\nTask: Get level from uv_index where a corresponding entry exists in frost with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001970", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: depth, type, unit, qc\n Sensor: frost | fields: level, reading, lat, unit\nTask: Fetch value from soil_moisture where value is greater than the maximum of reading in frost for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"frost\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001971", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: depth, reading, type, value\n Sensor: temperature | fields: ts, lon, level, reading\nTask: Fetch lat from evaporation where depth is greater than the maximum of depth in temperature for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"temperature\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001972", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: level, qc, depth, unit\n Sensor: temperature | fields: lat, value, unit, ts\nTask: Retrieve value from dew_point whose unit is found in temperature records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001973", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: value, qc, unit, ts\n Sensor: wind_speed | fields: type, lon, value, reading\nTask: Fetch level from temperature where depth is greater than the maximum of reading in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"wind_speed\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001974", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lat, unit, reading, qc\n Sensor: snow_depth | fields: lat, reading, unit, lon\nTask: Fetch lon from wind_speed where value is greater than the maximum of depth in snow_depth for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"snow_depth\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001975", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: ts, level, reading, depth\n Sensor: temperature | fields: unit, value, lon, qc\nTask: Get depth from turbidity where value exceeds the average value from temperature for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"temperature\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001976", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: type, lon, reading, value\n Sensor: rainfall | fields: unit, value, depth, qc\nTask: Retrieve lat from humidity with reading above the MIN(value) of rainfall readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"rainfall\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001977", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: ts, unit, depth, type\n Sensor: evaporation | fields: value, reading, type, qc\nTask: Retrieve lat from frost with reading above the AVG(reading) of evaporation readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001978", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: reading, ts, depth, value\n Sensor: wind_speed | fields: lat, lon, level, ts\nTask: Fetch reading from evaporation that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001979", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: unit, level, qc, lat\n Sensor: dew_point | fields: lat, level, lon, unit\nTask: Get depth from cloud_cover where a corresponding entry exists in dew_point with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001980", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: type, lat, level, unit\n Sensor: pressure | fields: depth, ts, level, type\nTask: Fetch value from evaporation where value is greater than the count of of depth in pressure for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"pressure\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001981", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: qc, lon, value, lat\n Sensor: rainfall | fields: level, reading, type, qc\nTask: Get value from uv_index where depth exceeds the minimum depth from rainfall for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"rainfall\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001982", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: qc, ts, reading, value\n Sensor: frost | fields: qc, lon, ts, type\nTask: Retrieve lat from sunlight that have at least one matching reading in frost sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001983", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: qc, value, unit, lon\n Sensor: air_quality | fields: value, lon, level, type\nTask: Fetch reading from soil_moisture where depth is greater than the average of depth in air_quality for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001984", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lat, lon, qc, type\n Sensor: soil_moisture | fields: depth, type, reading, value\nTask: Fetch lat from lightning where qc exists in soil_moisture sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001985", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: depth, value, qc, type\n Sensor: sunlight | fields: depth, type, lat, qc\nTask: Fetch lon from frost where value is greater than the maximum of depth in sunlight for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"sunlight\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001986", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: unit, lon, level, ts\n Sensor: uv_index | fields: lon, depth, qc, value\nTask: Retrieve level from temperature with reading above the MIN(depth) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001987", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: unit, reading, depth, type\n Sensor: air_quality | fields: unit, qc, reading, level\nTask: Get lat from evaporation where reading exceeds the count of value from air_quality for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001988", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: unit, depth, lon, qc\n Sensor: evaporation | fields: level, depth, ts, reading\nTask: Retrieve level from air_quality whose qc is found in evaporation records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001989", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: lon, ts, type, qc\n Sensor: visibility | fields: reading, qc, unit, ts\nTask: Fetch level from lightning where unit exists in visibility sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001990", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: level, lon, qc, depth\n Sensor: sunlight | fields: lat, lon, qc, reading\nTask: Retrieve depth from uv_index whose qc is found in sunlight records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001991", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: unit, value, qc, type\n Sensor: evaporation | fields: unit, reading, lat, type\nTask: Retrieve lon from air_quality that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001992", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: level, type, unit, reading\n Sensor: wind_speed | fields: reading, depth, level, lon\nTask: Retrieve value from uv_index that have at least one matching reading in wind_speed sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "value", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001993", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: qc, value, level, unit\n Sensor: drought_index | fields: ts, lat, value, qc\nTask: Fetch lat from lightning where value is greater than the average of reading in drought_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"drought_index\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001994", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: qc, reading, depth, unit\n Sensor: snow_depth | fields: depth, lat, unit, ts\nTask: Get lat from dew_point where a corresponding entry exists in snow_depth with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lat", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_001995", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: unit, value, lat, qc\n Sensor: wind_speed | fields: lat, unit, ts, qc\nTask: Fetch reading from air_quality where type exists in wind_speed sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001996", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: qc, depth, level, lat\n Sensor: visibility | fields: qc, type, reading, level\nTask: Retrieve lon from drought_index that have at least one matching reading in visibility sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001997", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: qc, depth, type, lat\n Sensor: soil_moisture | fields: lat, unit, reading, lon\nTask: Retrieve value from lightning that have at least one matching reading in soil_moisture sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001998", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: level, ts, qc, type\n Sensor: visibility | fields: lon, reading, ts, lat\nTask: Retrieve lon from air_quality whose unit is found in visibility records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_001999", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: type, lat, level, lon\n Sensor: turbidity | fields: ts, reading, lon, depth\nTask: Get lat from wind_speed where a corresponding entry exists in turbidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002000", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: unit, level, ts, type\n Sensor: rainfall | fields: lon, reading, level, depth\nTask: Get depth from air_quality where depth exceeds the total value from rainfall for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"rainfall\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002001", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: type, unit, ts, depth\n Sensor: turbidity | fields: reading, depth, type, lat\nTask: Get level from drought_index where depth exceeds the maximum value from turbidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"turbidity\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002002", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lon, unit, type, ts\n Sensor: lightning | fields: unit, value, lat, level\nTask: Retrieve depth from dew_point that have at least one matching reading in lightning sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002003", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: lon, qc, ts, lat\n Sensor: rainfall | fields: unit, value, lon, lat\nTask: Retrieve lat from uv_index with reading above the SUM(value) of rainfall readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"rainfall\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002004", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: reading, value, unit, depth\n Sensor: sunlight | fields: level, lon, ts, lat\nTask: Retrieve lat from rainfall with reading above the SUM(value) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"sunlight\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002005", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lat, level, value, lon\n Sensor: soil_moisture | fields: ts, depth, type, lat\nTask: Fetch reading from sunlight where unit exists in soil_moisture sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002006", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: unit, lat, level, value\n Sensor: turbidity | fields: ts, value, lat, level\nTask: Get lon from frost where reading exceeds the minimum reading from turbidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"turbidity\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002007", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: reading, level, unit, ts\n Sensor: soil_moisture | fields: lon, ts, level, reading\nTask: Get value from uv_index where value exceeds the total depth from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002008", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: type, lon, level, unit\n Sensor: frost | fields: level, value, type, unit\nTask: Get reading from humidity where ts appears in frost readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002009", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: reading, lon, lat, level\n Sensor: pressure | fields: type, ts, qc, lat\nTask: Get level from dew_point where depth appears in pressure readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002010", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: unit, ts, value, depth\n Sensor: snow_depth | fields: ts, type, qc, reading\nTask: Get reading from dew_point where qc appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002011", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: unit, reading, value, qc\n Sensor: frost | fields: value, qc, unit, ts\nTask: Get lat from uv_index where type appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002012", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: unit, value, qc, level\n Sensor: frost | fields: unit, lon, value, level\nTask: Fetch lon from dew_point that have at least one corresponding frost measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002013", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: level, ts, value, unit\n Sensor: wind_speed | fields: value, ts, depth, lon\nTask: Retrieve depth from humidity with depth above the AVG(depth) of wind_speed readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"wind_speed\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002014", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: type, lat, ts, qc\n Sensor: soil_moisture | fields: level, lon, lat, depth\nTask: Fetch lat from lightning where qc exists in soil_moisture sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002015", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: ts, unit, type, lat\n Sensor: sunlight | fields: ts, depth, level, value\nTask: Fetch lon from turbidity that have at least one corresponding sunlight measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002016", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: qc, lat, level, lon\n Sensor: snow_depth | fields: level, qc, value, type\nTask: Get reading from evaporation where a corresponding entry exists in snow_depth with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "reading", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002017", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: ts, qc, unit, depth\n Sensor: wind_speed | fields: unit, value, qc, lat\nTask: Retrieve lat from evaporation that have at least one matching reading in wind_speed sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lat", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002018", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: value, qc, lat, type\n Sensor: drought_index | fields: level, ts, lat, type\nTask: Fetch lat from cloud_cover that have at least one corresponding drought_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002019", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lon, ts, depth, value\n Sensor: turbidity | fields: lat, qc, depth, unit\nTask: Get reading from lightning where depth exceeds the average reading from turbidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"turbidity\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002020", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: level, depth, ts, lon\n Sensor: lightning | fields: lon, type, depth, value\nTask: Retrieve lat from turbidity with depth above the MAX(value) of lightning readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"lightning\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002021", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: depth, reading, lon, ts\n Sensor: lightning | fields: value, reading, level, qc\nTask: Fetch lon from turbidity that have at least one corresponding lightning measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002022", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: unit, qc, ts, depth\n Sensor: wind_speed | fields: type, lon, value, qc\nTask: Retrieve lon from frost that have at least one matching reading in wind_speed sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002023", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: type, reading, qc, lat\n Sensor: air_quality | fields: ts, qc, value, depth\nTask: Retrieve depth from snow_depth whose ts is found in air_quality records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002024", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: ts, reading, lon, level\n Sensor: visibility | fields: lon, value, ts, reading\nTask: Get depth from turbidity where depth appears in visibility readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002025", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: level, depth, type, reading\n Sensor: pressure | fields: ts, qc, type, lat\nTask: Retrieve level from humidity whose type is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002026", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: reading, level, ts, depth\n Sensor: lightning | fields: ts, qc, reading, level\nTask: Fetch value from pressure that have at least one corresponding lightning measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "value", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002027", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: reading, value, unit, type\n Sensor: turbidity | fields: lon, ts, depth, type\nTask: Get depth from evaporation where type appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002028", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: reading, lon, value, depth\n Sensor: drought_index | fields: unit, depth, lat, lon\nTask: Get depth from uv_index where a corresponding entry exists in drought_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002029", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: value, ts, lat, lon\n Sensor: frost | fields: ts, level, type, reading\nTask: Get reading from air_quality where value exceeds the maximum depth from frost for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"frost\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002030", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: qc, lon, type, value\n Sensor: cloud_cover | fields: lon, lat, reading, level\nTask: Retrieve lat from drought_index that have at least one matching reading in cloud_cover sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lat", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002031", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: value, lon, lat, reading\n Sensor: turbidity | fields: type, value, reading, lon\nTask: Fetch reading from snow_depth where value is greater than the average of reading in turbidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"turbidity\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002032", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: value, qc, ts, type\n Sensor: snow_depth | fields: value, reading, unit, type\nTask: Get level from air_quality where depth exceeds the total value from snow_depth for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"snow_depth\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002033", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: ts, type, reading, lat\n Sensor: dew_point | fields: depth, reading, ts, type\nTask: Fetch lon from uv_index that have at least one corresponding dew_point measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002034", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: type, ts, lat, level\n Sensor: snow_depth | fields: qc, lat, ts, depth\nTask: Retrieve level from wind_speed whose unit is found in snow_depth records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002035", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: depth, unit, ts, reading\n Sensor: air_quality | fields: lat, ts, type, level\nTask: Get lat from soil_moisture where reading exceeds the average value from air_quality for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002036", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: level, value, ts, type\n Sensor: drought_index | fields: reading, level, qc, lat\nTask: Get value from humidity where type appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002037", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: unit, reading, qc, ts\n Sensor: temperature | fields: reading, lon, type, level\nTask: Get reading from humidity where value exceeds the maximum depth from temperature for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"temperature\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002038", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: lat, lon, unit, depth\n Sensor: frost | fields: qc, type, value, lon\nTask: Fetch value from temperature where value is greater than the count of of depth in frost for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"frost\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002039", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: level, reading, depth, unit\n Sensor: rainfall | fields: ts, lat, depth, type\nTask: Fetch lon from sunlight where qc exists in rainfall sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002040", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: qc, unit, type, lon\n Sensor: uv_index | fields: depth, unit, qc, ts\nTask: Fetch reading from temperature where type exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002041", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: reading, lon, unit, level\n Sensor: snow_depth | fields: unit, lat, type, level\nTask: Retrieve depth from pressure with value above the MAX(reading) of snow_depth readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002042", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: value, qc, ts, type\n Sensor: temperature | fields: lon, reading, unit, depth\nTask: Retrieve reading from humidity that have at least one matching reading in temperature sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002043", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: reading, unit, lat, qc\n Sensor: temperature | fields: reading, lon, qc, value\nTask: Fetch level from dew_point where value is greater than the minimum of value in temperature for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"temperature\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002044", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: lat, type, depth, qc\n Sensor: turbidity | fields: value, type, depth, qc\nTask: Retrieve lon from visibility that have at least one matching reading in turbidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002045", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: reading, level, lat, ts\n Sensor: snow_depth | fields: reading, unit, value, qc\nTask: Retrieve lon from dew_point with value above the SUM(value) of snow_depth readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"snow_depth\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002046", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lon, level, type, qc\n Sensor: lightning | fields: reading, type, unit, lon\nTask: Fetch depth from humidity where type exists in lightning sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002047", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: ts, lon, value, type\n Sensor: humidity | fields: unit, lat, reading, depth\nTask: Retrieve lat from temperature whose qc is found in humidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002048", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: value, lat, ts, reading\n Sensor: temperature | fields: level, type, ts, depth\nTask: Retrieve level from rainfall that have at least one matching reading in temperature sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "level", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002049", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: level, qc, ts, value\n Sensor: humidity | fields: type, qc, depth, unit\nTask: Retrieve lat from turbidity with reading above the AVG(value) of humidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"humidity\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002050", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: lat, qc, level, type\n Sensor: wind_speed | fields: reading, value, level, unit\nTask: Retrieve lat from turbidity whose qc is found in wind_speed records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002051", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: level, reading, type, unit\n Sensor: visibility | fields: value, depth, qc, reading\nTask: Fetch depth from frost that have at least one corresponding visibility measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002052", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: level, unit, lat, reading\n Sensor: temperature | fields: ts, unit, qc, value\nTask: Get value from humidity where qc appears in temperature readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002053", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: type, reading, level, lat\n Sensor: lightning | fields: lat, qc, depth, unit\nTask: Retrieve reading from evaporation whose unit is found in lightning records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002054", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: lon, level, lat, value\n Sensor: temperature | fields: unit, depth, type, lat\nTask: Get lat from soil_moisture where depth exceeds the total reading from temperature for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002055", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: lon, ts, depth, value\n Sensor: humidity | fields: value, depth, lat, reading\nTask: Get value from soil_moisture where a corresponding entry exists in humidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002056", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: ts, lat, depth, value\n Sensor: drought_index | fields: ts, level, lon, qc\nTask: Get depth from uv_index where depth appears in drought_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002057", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: level, type, ts, lat\n Sensor: wind_speed | fields: depth, qc, level, lon\nTask: Get lon from soil_moisture where a corresponding entry exists in wind_speed with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lon", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002058", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lon, ts, reading, level\n Sensor: sunlight | fields: type, lon, unit, ts\nTask: Retrieve lon from turbidity whose unit is found in sunlight records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002059", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: level, depth, type, reading\n Sensor: wind_speed | fields: unit, level, ts, value\nTask: Fetch depth from pressure where depth is greater than the total of reading in wind_speed for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002060", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: depth, unit, reading, level\n Sensor: frost | fields: type, lon, reading, unit\nTask: Get depth from temperature where type appears in frost readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002061", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: lon, reading, ts, value\n Sensor: evaporation | fields: depth, type, ts, value\nTask: Fetch lon from pressure that have at least one corresponding evaporation measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002062", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: ts, depth, value, lon\n Sensor: visibility | fields: value, level, depth, lat\nTask: Get lat from wind_speed where value exceeds the minimum value from visibility for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002063", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: reading, ts, unit, type\n Sensor: frost | fields: level, value, reading, lon\nTask: Retrieve lon from snow_depth that have at least one matching reading in frost sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lon", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002064", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lat, type, depth, reading\n Sensor: humidity | fields: value, level, reading, type\nTask: Retrieve lon from evaporation that have at least one matching reading in humidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lon", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002065", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: depth, reading, type, lon\n Sensor: wind_speed | fields: ts, depth, lat, value\nTask: Fetch reading from turbidity where value is greater than the total of value in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002066", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: reading, ts, depth, qc\n Sensor: drought_index | fields: qc, level, value, lon\nTask: Fetch depth from evaporation where depth is greater than the count of of value in drought_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"drought_index\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002067", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: lat, lon, value, type\n Sensor: temperature | fields: lon, ts, reading, unit\nTask: Get reading from frost where depth appears in temperature readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002068", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: value, unit, lon, level\n Sensor: wind_speed | fields: qc, reading, type, ts\nTask: Get level from air_quality where depth exceeds the total value from wind_speed for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002069", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lat, qc, depth, type\n Sensor: evaporation | fields: type, reading, level, value\nTask: Fetch reading from air_quality that have at least one corresponding evaporation measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002070", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: reading, lon, ts, unit\n Sensor: sunlight | fields: unit, reading, lon, value\nTask: Get reading from lightning where depth exceeds the total reading from sunlight for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"sunlight\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002071", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: type, lon, ts, reading\n Sensor: evaporation | fields: depth, type, unit, lon\nTask: Retrieve lon from temperature that have at least one matching reading in evaporation sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002072", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: depth, level, reading, value\n Sensor: humidity | fields: depth, lat, lon, level\nTask: Fetch depth from uv_index where depth exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002073", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lon, value, qc, unit\n Sensor: air_quality | fields: lon, value, reading, ts\nTask: Fetch value from drought_index where unit exists in air_quality sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002074", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: unit, type, qc, lat\n Sensor: soil_moisture | fields: qc, lon, lat, ts\nTask: Retrieve lat from humidity with value above the COUNT(depth) of soil_moisture readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002075", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: type, reading, unit, value\n Sensor: evaporation | fields: value, type, depth, unit\nTask: Retrieve lon from pressure whose unit is found in evaporation records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002076", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: lon, unit, type, reading\n Sensor: air_quality | fields: lat, reading, value, unit\nTask: Get depth from rainfall where type appears in air_quality readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002077", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: lon, unit, value, level\n Sensor: turbidity | fields: reading, type, unit, depth\nTask: Retrieve lon from soil_moisture whose ts is found in turbidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002078", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: level, reading, lat, depth\n Sensor: wind_speed | fields: qc, type, lat, lon\nTask: Retrieve lon from pressure that have at least one matching reading in wind_speed sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002079", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: value, lon, depth, ts\n Sensor: visibility | fields: type, reading, depth, value\nTask: Fetch reading from cloud_cover that have at least one corresponding visibility measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002080", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: unit, type, level, lon\n Sensor: dew_point | fields: depth, ts, unit, type\nTask: Retrieve lat from evaporation whose qc is found in dew_point records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002081", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: value, ts, level, qc\n Sensor: pressure | fields: depth, qc, ts, value\nTask: Retrieve lat from humidity with reading above the MAX(depth) of pressure readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"pressure\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002082", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: value, depth, unit, type\n Sensor: soil_moisture | fields: level, value, unit, type\nTask: Fetch value from temperature where reading is greater than the average of depth in soil_moisture for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002083", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: lon, type, value, reading\n Sensor: dew_point | fields: qc, depth, ts, reading\nTask: Fetch lat from temperature where qc exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002084", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: type, value, reading, ts\n Sensor: lightning | fields: lon, lat, ts, reading\nTask: Get depth from snow_depth where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002085", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: lon, type, reading, level\n Sensor: turbidity | fields: depth, ts, level, reading\nTask: Get depth from air_quality where depth appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002086", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: reading, qc, unit, type\n Sensor: dew_point | fields: lat, value, depth, type\nTask: Get depth from snow_depth where value exceeds the count of reading from dew_point for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"dew_point\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002087", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: lon, lat, reading, type\n Sensor: humidity | fields: qc, unit, lon, reading\nTask: Retrieve lat from snow_depth that have at least one matching reading in humidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002088", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: type, ts, depth, level\n Sensor: pressure | fields: lon, lat, depth, unit\nTask: Retrieve level from temperature that have at least one matching reading in pressure sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002089", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: lon, level, ts, qc\n Sensor: humidity | fields: depth, qc, reading, unit\nTask: Get lat from soil_moisture where unit appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002090", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: level, ts, lon, qc\n Sensor: humidity | fields: depth, unit, type, value\nTask: Fetch reading from dew_point where depth is greater than the maximum of value in humidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"humidity\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002091", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: level, unit, type, value\n Sensor: frost | fields: lon, qc, ts, unit\nTask: Get reading from uv_index where a corresponding entry exists in frost with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002092", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: depth, reading, qc, type\n Sensor: air_quality | fields: reading, lon, unit, depth\nTask: Fetch lat from lightning that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lat", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002093", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lon, unit, type, level\n Sensor: humidity | fields: value, ts, qc, unit\nTask: Fetch lon from wind_speed where depth is greater than the maximum of depth in humidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002094", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: value, lon, level, unit\n Sensor: humidity | fields: type, ts, lon, value\nTask: Fetch lat from visibility where qc exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002095", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: lon, lat, ts, qc\n Sensor: snow_depth | fields: qc, reading, ts, depth\nTask: Fetch lat from frost where value is greater than the minimum of value in snow_depth for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"snow_depth\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002096", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: qc, type, reading, lat\n Sensor: rainfall | fields: unit, value, type, reading\nTask: Retrieve reading from turbidity that have at least one matching reading in rainfall sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002097", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: ts, reading, unit, qc\n Sensor: uv_index | fields: ts, qc, value, unit\nTask: Retrieve lon from sunlight that have at least one matching reading in uv_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lon", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002098", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: level, unit, ts, depth\n Sensor: dew_point | fields: value, unit, level, lon\nTask: Fetch lon from rainfall where depth exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002099", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: type, ts, lat, reading\n Sensor: drought_index | fields: lon, depth, ts, value\nTask: Retrieve level from snow_depth with reading above the AVG(depth) of drought_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"drought_index\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002100", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: type, level, lat, ts\n Sensor: soil_moisture | fields: unit, depth, ts, lon\nTask: Fetch level from uv_index where depth exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002101", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: type, qc, ts, value\n Sensor: turbidity | fields: level, depth, value, qc\nTask: Retrieve depth from snow_depth that have at least one matching reading in turbidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002102", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: unit, type, value, depth\n Sensor: evaporation | fields: qc, ts, lat, depth\nTask: Get depth from rainfall where reading exceeds the count of depth from evaporation for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002103", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: value, qc, unit, lat\n Sensor: air_quality | fields: depth, lon, qc, unit\nTask: Fetch reading from uv_index where depth exists in air_quality sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002104", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: ts, type, reading, lon\n Sensor: cloud_cover | fields: level, lat, qc, reading\nTask: Fetch lat from turbidity where type exists in cloud_cover sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002105", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: type, value, unit, qc\n Sensor: cloud_cover | fields: value, level, type, qc\nTask: Fetch lat from wind_speed where depth is greater than the average of reading in cloud_cover for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002106", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: depth, level, unit, qc\n Sensor: turbidity | fields: ts, depth, unit, qc\nTask: Fetch value from wind_speed where reading is greater than the total of depth in turbidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"turbidity\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002107", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: reading, level, value, ts\n Sensor: uv_index | fields: qc, lat, level, value\nTask: Fetch level from sunlight where qc exists in uv_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002108", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lon, depth, type, qc\n Sensor: drought_index | fields: qc, ts, lat, level\nTask: Fetch reading from sunlight that have at least one corresponding drought_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002109", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: depth, qc, unit, level\n Sensor: turbidity | fields: value, lon, qc, lat\nTask: Retrieve level from drought_index that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002110", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: reading, ts, level, type\n Sensor: sunlight | fields: unit, ts, depth, lon\nTask: Fetch value from soil_moisture where reading is greater than the average of reading in sunlight for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"sunlight\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002111", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: qc, ts, level, depth\n Sensor: rainfall | fields: lon, unit, reading, type\nTask: Get depth from uv_index where type appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002112", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: type, ts, lon, lat\n Sensor: air_quality | fields: lat, unit, lon, depth\nTask: Get reading from sunlight where unit appears in air_quality readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002113", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: unit, lon, qc, lat\n Sensor: air_quality | fields: qc, reading, value, lon\nTask: Retrieve reading from frost with depth above the COUNT(depth) of air_quality readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"air_quality\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002114", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: depth, qc, lon, lat\n Sensor: lightning | fields: type, ts, value, lon\nTask: Get level from soil_moisture where depth exceeds the total reading from lightning for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"lightning\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002115", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: type, lat, qc, unit\n Sensor: evaporation | fields: lon, qc, lat, depth\nTask: Get value from pressure where qc appears in evaporation readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002116", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: ts, lat, depth, unit\n Sensor: uv_index | fields: depth, level, lat, reading\nTask: Fetch depth from visibility where value is greater than the maximum of value in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"uv_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002117", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: lon, unit, type, qc\n Sensor: snow_depth | fields: value, lat, level, lon\nTask: Fetch lon from dew_point where value is greater than the minimum of value in snow_depth for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"snow_depth\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002118", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: qc, lat, level, unit\n Sensor: sunlight | fields: lat, qc, type, lon\nTask: Retrieve value from uv_index that have at least one matching reading in sunlight sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002119", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: level, type, ts, lon\n Sensor: rainfall | fields: qc, ts, level, value\nTask: Get reading from lightning where a corresponding entry exists in rainfall with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002120", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: value, type, depth, qc\n Sensor: dew_point | fields: lon, ts, level, unit\nTask: Fetch reading from lightning where depth is greater than the total of value in dew_point for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"dew_point\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002121", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: value, lat, lon, depth\n Sensor: evaporation | fields: type, level, lat, value\nTask: Fetch lon from sunlight where reading is greater than the maximum of reading in evaporation for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"evaporation\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002122", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lat, lon, ts, type\n Sensor: frost | fields: reading, lat, value, ts\nTask: Fetch depth from cloud_cover that have at least one corresponding frost measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002123", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: level, depth, lat, qc\n Sensor: evaporation | fields: lat, type, ts, reading\nTask: Fetch depth from humidity that have at least one corresponding evaporation measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002124", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lon, unit, qc, level\n Sensor: humidity | fields: qc, lat, lon, type\nTask: Get level from cloud_cover where value exceeds the count of value from humidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"humidity\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002125", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: ts, level, lat, unit\n Sensor: lightning | fields: ts, lon, level, lat\nTask: Fetch lat from wind_speed where depth is greater than the total of reading in lightning for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"lightning\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002126", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: reading, lon, value, unit\n Sensor: drought_index | fields: ts, unit, level, qc\nTask: Retrieve value from rainfall whose unit is found in drought_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002127", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: qc, reading, unit, lat\n Sensor: soil_moisture | fields: reading, ts, qc, lat\nTask: Fetch reading from dew_point where reading is greater than the total of value in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002128", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: depth, lat, value, lon\n Sensor: visibility | fields: lon, ts, value, lat\nTask: Fetch depth from dew_point where qc exists in visibility sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002129", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: reading, lat, value, depth\n Sensor: soil_moisture | fields: lon, value, unit, qc\nTask: Get lat from sunlight where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lat", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002130", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: value, lat, depth, level\n Sensor: snow_depth | fields: level, ts, lon, type\nTask: Get lon from sunlight where type appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002131", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: value, qc, lat, reading\n Sensor: snow_depth | fields: level, ts, reading, depth\nTask: Retrieve depth from cloud_cover that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002132", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: qc, lon, depth, reading\n Sensor: visibility | fields: reading, level, depth, unit\nTask: Get value from rainfall where reading exceeds the minimum depth from visibility for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"visibility\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002133", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: depth, value, type, ts\n Sensor: sunlight | fields: lat, type, reading, level\nTask: Get depth from lightning where ts appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002134", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: level, type, ts, value\n Sensor: snow_depth | fields: lat, reading, value, qc\nTask: Get lon from uv_index where type appears in snow_depth readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002135", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: type, qc, lat, unit\n Sensor: air_quality | fields: lon, ts, depth, reading\nTask: Get lat from humidity where a corresponding entry exists in air_quality with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002136", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: level, ts, qc, unit\n Sensor: frost | fields: qc, ts, reading, depth\nTask: Get lon from lightning where ts appears in frost readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002137", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: ts, unit, level, value\n Sensor: evaporation | fields: lat, depth, level, qc\nTask: Retrieve level from sunlight with reading above the MAX(value) of evaporation readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"evaporation\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002138", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: ts, lon, reading, qc\n Sensor: frost | fields: type, qc, reading, lat\nTask: Retrieve value from uv_index that have at least one matching reading in frost sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "value", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002139", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: value, ts, unit, level\n Sensor: uv_index | fields: qc, lon, level, reading\nTask: Retrieve value from frost with value above the AVG(reading) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"uv_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002140", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: type, lat, lon, value\n Sensor: soil_moisture | fields: depth, unit, reading, lon\nTask: Get level from snow_depth where value exceeds the count of reading from soil_moisture for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002141", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: reading, qc, depth, value\n Sensor: visibility | fields: qc, reading, unit, lat\nTask: Fetch value from snow_depth where unit exists in visibility sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002142", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: depth, ts, type, value\n Sensor: wind_speed | fields: qc, unit, lat, ts\nTask: Get level from rainfall where a corresponding entry exists in wind_speed with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002143", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: unit, qc, ts, level\n Sensor: lightning | fields: lon, ts, level, unit\nTask: Fetch lon from pressure that have at least one corresponding lightning measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002144", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: lon, reading, unit, level\n Sensor: soil_moisture | fields: depth, reading, lon, lat\nTask: Retrieve lon from turbidity with value above the COUNT(depth) of soil_moisture readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002145", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: type, unit, value, depth\n Sensor: uv_index | fields: lat, type, ts, level\nTask: Get lon from pressure where a corresponding entry exists in uv_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lon", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002146", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: type, depth, value, unit\n Sensor: temperature | fields: depth, value, level, ts\nTask: Fetch lat from soil_moisture where type exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002147", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lat, qc, level, type\n Sensor: lightning | fields: reading, ts, lon, unit\nTask: Fetch lat from sunlight where depth is greater than the total of value in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002148", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: depth, level, value, type\n Sensor: pressure | fields: qc, level, type, unit\nTask: Retrieve value from wind_speed with depth above the SUM(depth) of pressure readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"pressure\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002149", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: unit, type, depth, value\n Sensor: lightning | fields: level, unit, value, qc\nTask: Get lon from rainfall where value exceeds the average depth from lightning for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"lightning\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002150", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: reading, unit, ts, depth\n Sensor: visibility | fields: type, reading, lat, depth\nTask: Retrieve level from lightning that have at least one matching reading in visibility sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002151", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: qc, type, level, depth\n Sensor: uv_index | fields: lon, value, unit, level\nTask: Get lat from dew_point where qc appears in uv_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002152", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: ts, level, unit, value\n Sensor: evaporation | fields: lon, qc, depth, value\nTask: Get value from visibility where a corresponding entry exists in evaporation with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002153", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: qc, unit, value, depth\n Sensor: frost | fields: lat, reading, value, unit\nTask: Retrieve depth from pressure that have at least one matching reading in frost sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002154", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: depth, unit, lon, type\n Sensor: rainfall | fields: value, ts, reading, lat\nTask: Get lat from cloud_cover where depth appears in rainfall readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002155", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: reading, level, depth, ts\n Sensor: visibility | fields: depth, ts, lat, type\nTask: Get lon from evaporation where value exceeds the count of value from visibility for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002156", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: ts, lon, level, depth\n Sensor: cloud_cover | fields: reading, type, value, lon\nTask: Get value from evaporation where a corresponding entry exists in cloud_cover with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "value", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002157", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: unit, type, lat, depth\n Sensor: lightning | fields: qc, level, lon, ts\nTask: Fetch level from sunlight that have at least one corresponding lightning measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002158", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: lon, unit, value, lat\n Sensor: visibility | fields: qc, ts, value, level\nTask: Fetch level from cloud_cover where unit exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002159", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: ts, lon, reading, level\n Sensor: turbidity | fields: depth, lon, level, ts\nTask: Get lon from uv_index where a corresponding entry exists in turbidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002160", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: qc, depth, value, reading\n Sensor: dew_point | fields: ts, reading, value, type\nTask: Fetch reading from humidity where value is greater than the maximum of value in dew_point for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002161", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: reading, depth, ts, value\n Sensor: sunlight | fields: depth, value, qc, level\nTask: Retrieve reading from drought_index with depth above the SUM(value) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"sunlight\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002162", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: lon, ts, unit, reading\n Sensor: pressure | fields: value, depth, lon, level\nTask: Retrieve value from cloud_cover whose unit is found in pressure records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002163", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: depth, qc, ts, level\n Sensor: evaporation | fields: type, depth, level, reading\nTask: Retrieve depth from temperature that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002164", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: value, level, lat, unit\n Sensor: turbidity | fields: qc, reading, value, level\nTask: Retrieve reading from air_quality with depth above the COUNT(depth) of turbidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"turbidity\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002165", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: type, ts, value, depth\n Sensor: rainfall | fields: depth, qc, type, level\nTask: Get reading from temperature where a corresponding entry exists in rainfall with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002166", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: value, reading, lat, depth\n Sensor: uv_index | fields: depth, lat, qc, ts\nTask: Fetch reading from snow_depth where depth exists in uv_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002167", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: value, depth, lon, type\n Sensor: visibility | fields: ts, level, lon, depth\nTask: Retrieve reading from evaporation with depth above the COUNT(depth) of visibility readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"visibility\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002168", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: type, depth, level, ts\n Sensor: snow_depth | fields: value, level, lon, unit\nTask: Get value from uv_index where a corresponding entry exists in snow_depth with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002169", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: reading, qc, lon, ts\n Sensor: rainfall | fields: unit, lon, ts, reading\nTask: Retrieve value from pressure that have at least one matching reading in rainfall sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002170", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: unit, level, lat, type\n Sensor: soil_moisture | fields: unit, lon, lat, type\nTask: Get level from snow_depth where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "level", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002171", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: type, reading, lat, unit\n Sensor: pressure | fields: depth, ts, lon, lat\nTask: Get value from lightning where ts appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002172", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: type, value, unit, lat\n Sensor: pressure | fields: lon, value, unit, qc\nTask: Get reading from sunlight where unit appears in pressure readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002173", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: level, lon, qc, reading\n Sensor: humidity | fields: depth, ts, lon, unit\nTask: Get value from turbidity where ts appears in humidity readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002174", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lon, depth, qc, lat\n Sensor: drought_index | fields: depth, qc, reading, value\nTask: Get depth from turbidity where depth exceeds the count of depth from drought_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002175", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: depth, type, lat, lon\n Sensor: snow_depth | fields: unit, depth, type, lat\nTask: Get value from soil_moisture where ts appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002176", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: level, value, reading, lon\n Sensor: uv_index | fields: type, depth, unit, ts\nTask: Get lon from rainfall where value exceeds the average depth from uv_index for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"uv_index\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002177", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lat, reading, lon, ts\n Sensor: soil_moisture | fields: type, reading, unit, lon\nTask: Retrieve level from wind_speed whose ts is found in soil_moisture records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002178", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: reading, type, qc, lat\n Sensor: rainfall | fields: type, lon, qc, value\nTask: Fetch reading from evaporation where depth is greater than the average of depth in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"rainfall\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002179", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: type, qc, reading, ts\n Sensor: dew_point | fields: depth, ts, value, reading\nTask: Fetch depth from evaporation where depth exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002180", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: value, reading, ts, type\n Sensor: evaporation | fields: lat, qc, value, depth\nTask: Fetch lon from uv_index where ts exists in evaporation sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002181", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: value, unit, level, depth\n Sensor: uv_index | fields: level, reading, lon, unit\nTask: Retrieve lon from humidity whose depth is found in uv_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002182", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: ts, value, type, qc\n Sensor: humidity | fields: level, reading, value, unit\nTask: Fetch value from cloud_cover that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "value", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002183", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lon, unit, level, value\n Sensor: evaporation | fields: depth, unit, qc, lat\nTask: Retrieve reading from uv_index that have at least one matching reading in evaporation sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002184", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: qc, lat, value, ts\n Sensor: uv_index | fields: level, depth, ts, reading\nTask: Retrieve reading from dew_point that have at least one matching reading in uv_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002185", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: qc, unit, lon, depth\n Sensor: temperature | fields: unit, qc, type, reading\nTask: Get level from uv_index where a corresponding entry exists in temperature with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002186", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: type, ts, level, lat\n Sensor: rainfall | fields: value, qc, unit, depth\nTask: Get lat from pressure where a corresponding entry exists in rainfall with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002187", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: value, ts, type, depth\n Sensor: soil_moisture | fields: lon, depth, value, lat\nTask: Get lat from rainfall where a corresponding entry exists in soil_moisture with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "lat", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002188", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: qc, unit, depth, lon\n Sensor: wind_speed | fields: qc, unit, depth, lat\nTask: Retrieve level from lightning with reading above the MAX(value) of wind_speed readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002189", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: type, qc, value, ts\n Sensor: wind_speed | fields: qc, lon, level, ts\nTask: Retrieve depth from air_quality with value above the MAX(reading) of wind_speed readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"wind_speed\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002190", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: unit, ts, level, depth\n Sensor: wind_speed | fields: depth, value, ts, qc\nTask: Get lon from rainfall where ts appears in wind_speed readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002191", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: ts, reading, qc, unit\n Sensor: frost | fields: level, qc, depth, type\nTask: Get depth from cloud_cover where type appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002192", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: value, qc, type, level\n Sensor: wind_speed | fields: lat, ts, reading, value\nTask: Get reading from frost where depth exceeds the minimum depth from wind_speed for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"wind_speed\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002193", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: lat, reading, type, qc\n Sensor: frost | fields: depth, qc, type, level\nTask: Retrieve lon from soil_moisture with reading above the COUNT(reading) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"frost\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002194", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: unit, lat, reading, ts\n Sensor: temperature | fields: reading, type, qc, lat\nTask: Get value from visibility where unit appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002195", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: value, type, unit, ts\n Sensor: humidity | fields: value, unit, lon, level\nTask: Fetch level from turbidity where qc exists in humidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002196", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lon, ts, qc, lat\n Sensor: snow_depth | fields: lat, qc, value, depth\nTask: Retrieve reading from visibility with value above the COUNT(reading) of snow_depth readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"snow_depth\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002197", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: lat, ts, reading, unit\n Sensor: snow_depth | fields: value, qc, lat, ts\nTask: Retrieve reading from sunlight with reading above the SUM(depth) of snow_depth readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"snow_depth\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002198", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: lat, level, type, qc\n Sensor: soil_moisture | fields: ts, level, reading, type\nTask: Retrieve reading from snow_depth whose type is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002199", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lon, type, reading, ts\n Sensor: rainfall | fields: depth, level, lon, type\nTask: Retrieve depth from temperature with depth above the AVG(reading) of rainfall readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"rainfall\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002200", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: unit, lon, level, value\n Sensor: uv_index | fields: ts, level, lon, reading\nTask: Fetch lon from temperature that have at least one corresponding uv_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002201", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: unit, level, ts, type\n Sensor: wind_speed | fields: value, reading, unit, level\nTask: Fetch reading from snow_depth that have at least one corresponding wind_speed measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002202", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lat, type, ts, unit\n Sensor: humidity | fields: depth, ts, qc, value\nTask: Retrieve lat from rainfall with depth above the AVG(depth) of humidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"humidity\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002203", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: reading, depth, value, qc\n Sensor: frost | fields: lon, lat, depth, qc\nTask: Get lon from pressure where a corresponding entry exists in frost with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002204", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: qc, value, depth, type\n Sensor: uv_index | fields: lon, reading, depth, type\nTask: Get reading from air_quality where qc appears in uv_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002205", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: level, lon, reading, value\n Sensor: evaporation | fields: ts, lat, lon, value\nTask: Get level from cloud_cover where a corresponding entry exists in evaporation with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002206", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: ts, level, unit, lon\n Sensor: soil_moisture | fields: depth, lon, ts, lat\nTask: Retrieve depth from pressure whose unit is found in soil_moisture records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002207", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: type, lat, reading, lon\n Sensor: drought_index | fields: reading, value, depth, ts\nTask: Get level from frost where type appears in drought_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002208", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: type, ts, level, depth\n Sensor: evaporation | fields: lon, ts, depth, reading\nTask: Get level from cloud_cover where reading exceeds the average value from evaporation for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002209", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: reading, unit, level, type\n Sensor: humidity | fields: lat, qc, type, reading\nTask: Fetch level from soil_moisture where depth exists in humidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002210", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: value, unit, reading, type\n Sensor: wind_speed | fields: lon, depth, value, ts\nTask: Fetch value from turbidity where ts exists in wind_speed sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002211", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: type, depth, lat, unit\n Sensor: uv_index | fields: unit, depth, value, lon\nTask: Retrieve level from humidity whose type is found in uv_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002212", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: qc, lon, depth, ts\n Sensor: frost | fields: level, lon, ts, lat\nTask: Fetch lat from dew_point that have at least one corresponding frost measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lat", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002213", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: unit, qc, reading, lon\n Sensor: soil_moisture | fields: type, lat, lon, reading\nTask: Fetch reading from snow_depth where value is greater than the average of depth in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002214", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: value, level, depth, reading\n Sensor: humidity | fields: reading, value, depth, type\nTask: Fetch value from drought_index that have at least one corresponding humidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002215", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: level, depth, type, unit\n Sensor: soil_moisture | fields: unit, reading, level, ts\nTask: Retrieve level from frost that have at least one matching reading in soil_moisture sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002216", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: lat, type, lon, qc\n Sensor: uv_index | fields: level, depth, lat, lon\nTask: Fetch reading from air_quality where depth is greater than the minimum of depth in uv_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002217", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: value, type, lon, depth\n Sensor: humidity | fields: reading, type, ts, level\nTask: Get value from soil_moisture where type appears in humidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002218", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: type, qc, ts, unit\n Sensor: lightning | fields: level, depth, lat, lon\nTask: Get depth from air_quality where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002219", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: reading, value, type, unit\n Sensor: sunlight | fields: lat, qc, depth, unit\nTask: Retrieve lon from evaporation that have at least one matching reading in sunlight sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002220", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: unit, type, reading, value\n Sensor: air_quality | fields: lat, qc, ts, reading\nTask: Fetch depth from wind_speed that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002221", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: unit, type, value, reading\n Sensor: soil_moisture | fields: level, reading, qc, lon\nTask: Get lon from temperature where qc appears in soil_moisture readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002222", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: qc, level, depth, reading\n Sensor: temperature | fields: type, ts, level, qc\nTask: Fetch lon from evaporation where reading is greater than the count of of value in temperature for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"temperature\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002223", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: level, depth, reading, type\n Sensor: wind_speed | fields: type, unit, value, depth\nTask: Retrieve value from frost with value above the SUM(value) of wind_speed readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002224", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: unit, ts, reading, value\n Sensor: snow_depth | fields: reading, value, qc, unit\nTask: Get depth from evaporation where qc appears in snow_depth readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002225", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: reading, depth, lat, qc\n Sensor: turbidity | fields: ts, qc, depth, value\nTask: Fetch value from visibility where reading is greater than the average of depth in turbidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"turbidity\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002226", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: type, level, lat, ts\n Sensor: evaporation | fields: unit, type, lat, lon\nTask: Get lat from cloud_cover where unit appears in evaporation readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002227", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: ts, depth, lat, lon\n Sensor: air_quality | fields: qc, level, type, reading\nTask: Retrieve lat from cloud_cover whose depth is found in air_quality records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002228", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: unit, lon, lat, value\n Sensor: pressure | fields: qc, depth, ts, type\nTask: Get level from drought_index where unit appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002229", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: depth, reading, unit, qc\n Sensor: temperature | fields: reading, value, lon, unit\nTask: Fetch lat from uv_index where value is greater than the total of reading in temperature for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002230", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: lat, qc, ts, unit\n Sensor: drought_index | fields: lon, qc, unit, ts\nTask: Retrieve depth from cloud_cover whose qc is found in drought_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002231", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: qc, unit, level, depth\n Sensor: air_quality | fields: depth, lat, value, level\nTask: Get lon from soil_moisture where a corresponding entry exists in air_quality with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002232", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: reading, value, qc, ts\n Sensor: pressure | fields: lat, unit, ts, type\nTask: Get reading from evaporation where reading exceeds the total depth from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002233", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: type, lat, lon, qc\n Sensor: dew_point | fields: qc, lat, lon, level\nTask: Retrieve level from pressure that have at least one matching reading in dew_point sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "level", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002234", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: level, type, lon, depth\n Sensor: lightning | fields: depth, unit, level, lon\nTask: Fetch lon from cloud_cover that have at least one corresponding lightning measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002235", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: lon, reading, depth, ts\n Sensor: temperature | fields: value, lat, unit, ts\nTask: Retrieve value from lightning that have at least one matching reading in temperature sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002236", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: unit, ts, reading, level\n Sensor: visibility | fields: depth, type, lat, qc\nTask: Retrieve lon from temperature that have at least one matching reading in visibility sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002237", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: unit, type, level, lon\n Sensor: pressure | fields: level, ts, qc, reading\nTask: Get lat from soil_moisture where a corresponding entry exists in pressure with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002238", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: ts, depth, lat, qc\n Sensor: sunlight | fields: value, qc, ts, level\nTask: Fetch value from humidity that have at least one corresponding sunlight measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002239", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: reading, level, depth, lon\n Sensor: rainfall | fields: qc, level, lon, type\nTask: Fetch depth from air_quality where reading is greater than the average of depth in rainfall for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"rainfall\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002240", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: reading, depth, level, qc\n Sensor: evaporation | fields: lon, level, unit, type\nTask: Fetch level from uv_index that have at least one corresponding evaporation measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002241", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: depth, qc, reading, lon\n Sensor: humidity | fields: ts, lat, level, type\nTask: Fetch reading from evaporation where unit exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002242", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: type, ts, depth, unit\n Sensor: visibility | fields: reading, lat, value, type\nTask: Fetch lat from cloud_cover where reading is greater than the maximum of depth in visibility for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"visibility\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002243", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: type, reading, depth, ts\n Sensor: sunlight | fields: unit, ts, type, level\nTask: Retrieve level from temperature that have at least one matching reading in sunlight sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "level", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002244", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: qc, ts, depth, value\n Sensor: dew_point | fields: ts, lat, level, depth\nTask: Get lon from humidity where value exceeds the minimum depth from dew_point for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"dew_point\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002245", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: value, depth, lat, reading\n Sensor: humidity | fields: value, unit, qc, ts\nTask: Retrieve lon from air_quality whose ts is found in humidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002246", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: depth, level, qc, value\n Sensor: pressure | fields: type, reading, lat, level\nTask: Fetch level from rainfall where value is greater than the total of value in pressure for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002247", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: unit, lat, type, level\n Sensor: visibility | fields: lon, ts, lat, level\nTask: Retrieve depth from snow_depth that have at least one matching reading in visibility sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002248", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: level, lat, depth, qc\n Sensor: humidity | fields: depth, qc, type, ts\nTask: Fetch level from sunlight where unit exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002249", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: lat, ts, unit, reading\n Sensor: temperature | fields: lon, depth, qc, ts\nTask: Get depth from frost where a corresponding entry exists in temperature with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002250", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: lon, type, value, unit\n Sensor: humidity | fields: type, lat, qc, reading\nTask: Fetch value from turbidity where ts exists in humidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002251", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: ts, depth, lat, reading\n Sensor: frost | fields: reading, level, ts, qc\nTask: Get lat from turbidity where depth exceeds the minimum value from frost for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"frost\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002252", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lon, value, qc, lat\n Sensor: uv_index | fields: ts, depth, lat, reading\nTask: Retrieve depth from turbidity whose qc is found in uv_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002253", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: unit, depth, ts, value\n Sensor: rainfall | fields: unit, lon, ts, depth\nTask: Retrieve depth from drought_index that have at least one matching reading in rainfall sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002254", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: reading, unit, ts, value\n Sensor: wind_speed | fields: level, unit, type, ts\nTask: Retrieve value from soil_moisture with value above the MIN(depth) of wind_speed readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"wind_speed\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002255", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: value, lon, level, reading\n Sensor: dew_point | fields: depth, ts, qc, level\nTask: Fetch level from visibility where type exists in dew_point sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002256", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lat, reading, type, ts\n Sensor: snow_depth | fields: ts, type, reading, lon\nTask: Fetch reading from humidity that have at least one corresponding snow_depth measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002257", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: qc, lon, type, ts\n Sensor: air_quality | fields: type, qc, lon, depth\nTask: Fetch value from turbidity that have at least one corresponding air_quality measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002258", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: unit, lat, depth, lon\n Sensor: snow_depth | fields: ts, level, value, unit\nTask: Fetch depth from rainfall where value is greater than the total of value in snow_depth for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"snow_depth\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002259", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: level, lon, ts, reading\n Sensor: air_quality | fields: type, level, depth, value\nTask: Get value from temperature where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "value", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002260", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: depth, reading, unit, qc\n Sensor: rainfall | fields: ts, lat, type, qc\nTask: Retrieve value from temperature that have at least one matching reading in rainfall sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002261", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: reading, depth, type, lon\n Sensor: temperature | fields: ts, qc, unit, value\nTask: Retrieve value from turbidity whose qc is found in temperature records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002262", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: reading, value, lat, depth\n Sensor: lightning | fields: reading, value, level, depth\nTask: Get lon from snow_depth where reading exceeds the maximum value from lightning for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"lightning\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002263", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lon, level, type, reading\n Sensor: humidity | fields: lat, value, level, lon\nTask: Get lon from dew_point where reading exceeds the average value from humidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"humidity\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002264", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: level, value, depth, unit\n Sensor: sunlight | fields: value, ts, qc, depth\nTask: Retrieve reading from snow_depth whose type is found in sunlight records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002265", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: lon, unit, type, level\n Sensor: drought_index | fields: lat, value, lon, depth\nTask: Fetch lon from soil_moisture that have at least one corresponding drought_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002266", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: type, lat, level, depth\n Sensor: lightning | fields: ts, level, value, type\nTask: Retrieve depth from cloud_cover that have at least one matching reading in lightning sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002267", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: qc, unit, lat, reading\n Sensor: frost | fields: unit, level, ts, lon\nTask: Fetch level from wind_speed that have at least one corresponding frost measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002268", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: type, depth, value, ts\n Sensor: humidity | fields: level, reading, ts, qc\nTask: Get depth from cloud_cover where depth exceeds the count of value from humidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"humidity\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002269", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: lat, depth, type, lon\n Sensor: temperature | fields: unit, reading, value, depth\nTask: Get lat from pressure where depth appears in temperature readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002270", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: lon, unit, value, qc\n Sensor: air_quality | fields: value, reading, lon, lat\nTask: Fetch depth from cloud_cover that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002271", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: lat, depth, ts, value\n Sensor: soil_moisture | fields: unit, type, lon, value\nTask: Fetch reading from turbidity that have at least one corresponding soil_moisture measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002272", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lat, value, depth, qc\n Sensor: soil_moisture | fields: ts, depth, unit, lon\nTask: Get depth from snow_depth where unit appears in soil_moisture readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002273", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: qc, value, level, ts\n Sensor: frost | fields: lat, reading, lon, unit\nTask: Retrieve lat from evaporation that have at least one matching reading in frost sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002274", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: level, type, qc, depth\n Sensor: wind_speed | fields: qc, lat, level, lon\nTask: Get reading from dew_point where a corresponding entry exists in wind_speed with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002275", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: qc, level, unit, lon\n Sensor: soil_moisture | fields: depth, reading, type, value\nTask: Get value from cloud_cover where a corresponding entry exists in soil_moisture with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002276", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: level, type, lon, unit\n Sensor: wind_speed | fields: depth, qc, unit, reading\nTask: Get value from soil_moisture where a corresponding entry exists in wind_speed with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002277", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: ts, lat, value, reading\n Sensor: rainfall | fields: depth, qc, ts, type\nTask: Get value from wind_speed where a corresponding entry exists in rainfall with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "value", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002278", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: level, lon, reading, depth\n Sensor: humidity | fields: reading, lat, value, lon\nTask: Retrieve reading from lightning with value above the COUNT(reading) of humidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"humidity\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002279", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: unit, reading, level, value\n Sensor: wind_speed | fields: unit, reading, ts, qc\nTask: Fetch lon from turbidity where value is greater than the maximum of value in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"wind_speed\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002280", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: ts, qc, value, depth\n Sensor: uv_index | fields: lon, lat, level, ts\nTask: Get level from dew_point where depth exceeds the total value from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"uv_index\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002281", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: reading, lat, type, qc\n Sensor: dew_point | fields: lon, value, level, lat\nTask: Get lon from turbidity where depth exceeds the maximum depth from dew_point for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"dew_point\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002282", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: qc, value, level, ts\n Sensor: wind_speed | fields: lat, unit, qc, depth\nTask: Retrieve lon from rainfall that have at least one matching reading in wind_speed sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002283", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: level, lon, unit, ts\n Sensor: cloud_cover | fields: value, type, lat, depth\nTask: Fetch depth from snow_depth where depth is greater than the minimum of reading in cloud_cover for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002284", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: type, reading, qc, level\n Sensor: humidity | fields: unit, type, ts, lon\nTask: Get lat from turbidity where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "lat", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002285", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: value, level, lon, ts\n Sensor: lightning | fields: depth, ts, qc, type\nTask: Retrieve depth from turbidity that have at least one matching reading in lightning sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002286", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: qc, ts, lon, unit\n Sensor: frost | fields: type, ts, level, depth\nTask: Fetch depth from temperature where reading is greater than the maximum of depth in frost for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"frost\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002287", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: unit, level, reading, type\n Sensor: pressure | fields: type, lat, level, value\nTask: Get lat from dew_point where depth exceeds the count of value from pressure for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"pressure\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002288", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: depth, reading, level, type\n Sensor: dew_point | fields: lat, qc, unit, depth\nTask: Fetch reading from lightning where type exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002289", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: qc, type, value, depth\n Sensor: humidity | fields: type, ts, level, qc\nTask: Retrieve value from turbidity with reading above the SUM(reading) of humidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"humidity\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002290", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: reading, type, unit, level\n Sensor: visibility | fields: unit, qc, reading, type\nTask: Retrieve depth from humidity with value above the AVG(depth) of visibility readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"visibility\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002291", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lon, reading, qc, depth\n Sensor: soil_moisture | fields: depth, unit, ts, level\nTask: Get lon from humidity where a corresponding entry exists in soil_moisture with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lon", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002292", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: type, depth, level, ts\n Sensor: visibility | fields: value, ts, qc, type\nTask: Fetch lat from drought_index where value is greater than the maximum of value in visibility for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002293", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: value, qc, level, type\n Sensor: cloud_cover | fields: lat, reading, qc, level\nTask: Fetch lat from rainfall that have at least one corresponding cloud_cover measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002294", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: reading, type, depth, unit\n Sensor: cloud_cover | fields: value, reading, lon, level\nTask: Get lat from sunlight where a corresponding entry exists in cloud_cover with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002295", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lon, unit, ts, level\n Sensor: rainfall | fields: reading, qc, value, lon\nTask: Retrieve value from lightning that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002296", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: depth, lon, qc, level\n Sensor: pressure | fields: level, ts, unit, qc\nTask: Fetch lon from lightning that have at least one corresponding pressure measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002297", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: ts, lat, unit, lon\n Sensor: soil_moisture | fields: unit, type, level, qc\nTask: Get lon from dew_point where reading exceeds the maximum value from soil_moisture for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"soil_moisture\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002298", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: depth, reading, qc, unit\n Sensor: air_quality | fields: ts, qc, level, lat\nTask: Retrieve lat from dew_point with value above the MAX(value) of air_quality readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"air_quality\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002299", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: ts, depth, lon, unit\n Sensor: uv_index | fields: reading, level, ts, value\nTask: Fetch depth from evaporation where qc exists in uv_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002300", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: depth, qc, unit, type\n Sensor: sunlight | fields: level, reading, lon, lat\nTask: Retrieve depth from cloud_cover with reading above the AVG(depth) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002301", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: value, reading, ts, unit\n Sensor: turbidity | fields: unit, lon, type, depth\nTask: Fetch lat from visibility where reading is greater than the total of reading in turbidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"turbidity\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002302", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: level, value, lat, lon\n Sensor: visibility | fields: ts, unit, depth, reading\nTask: Fetch lat from wind_speed where qc exists in visibility sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002303", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: unit, type, reading, ts\n Sensor: humidity | fields: lon, lat, unit, type\nTask: Fetch lon from temperature where depth is greater than the total of reading in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"humidity\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002304", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: level, type, reading, lat\n Sensor: rainfall | fields: qc, lat, type, level\nTask: Fetch value from air_quality where depth exists in rainfall sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002305", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: qc, lon, reading, type\n Sensor: lightning | fields: reading, level, ts, lon\nTask: Fetch reading from evaporation that have at least one corresponding lightning measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002306", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: level, type, qc, value\n Sensor: turbidity | fields: type, ts, unit, qc\nTask: Fetch lon from rainfall where reading is greater than the total of value in turbidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"turbidity\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002307", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: lat, level, value, lon\n Sensor: drought_index | fields: value, reading, qc, unit\nTask: Fetch reading from frost that have at least one corresponding drought_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002308", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: type, lon, unit, lat\n Sensor: evaporation | fields: value, type, reading, lat\nTask: Fetch lon from dew_point where ts exists in evaporation sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002309", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: qc, level, value, depth\n Sensor: evaporation | fields: qc, ts, unit, type\nTask: Get lon from uv_index where value exceeds the average reading from evaporation for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002310", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: depth, reading, unit, level\n Sensor: cloud_cover | fields: value, type, depth, lon\nTask: Retrieve value from evaporation that have at least one matching reading in cloud_cover sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002311", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: level, ts, lat, type\n Sensor: cloud_cover | fields: ts, unit, reading, level\nTask: Retrieve lat from temperature with reading above the MIN(reading) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002312", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: reading, unit, type, qc\n Sensor: frost | fields: value, level, ts, depth\nTask: Get reading from dew_point where qc appears in frost readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002313", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: unit, level, lon, reading\n Sensor: visibility | fields: qc, type, level, value\nTask: Retrieve lat from wind_speed with reading above the MAX(depth) of visibility readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002314", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: lon, depth, ts, type\n Sensor: frost | fields: depth, ts, unit, qc\nTask: Fetch lon from evaporation where unit exists in frost sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002315", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: reading, level, qc, type\n Sensor: rainfall | fields: reading, lat, qc, level\nTask: Fetch reading from snow_depth where unit exists in rainfall sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002316", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: unit, depth, ts, level\n Sensor: evaporation | fields: qc, ts, reading, unit\nTask: Get depth from soil_moisture where type appears in evaporation readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002317", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: unit, depth, lon, value\n Sensor: sunlight | fields: reading, type, lat, unit\nTask: Retrieve depth from visibility whose type is found in sunlight records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002318", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: level, ts, qc, depth\n Sensor: rainfall | fields: unit, lat, lon, level\nTask: Retrieve lat from pressure whose type is found in rainfall records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lat", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002319", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: depth, ts, lat, qc\n Sensor: snow_depth | fields: depth, level, lon, qc\nTask: Fetch level from temperature where depth is greater than the maximum of reading in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002320", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lon, qc, ts, type\n Sensor: visibility | fields: ts, lat, level, value\nTask: Fetch lat from soil_moisture where depth is greater than the minimum of reading in visibility for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"visibility\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002321", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: level, depth, value, type\n Sensor: visibility | fields: unit, ts, type, lat\nTask: Retrieve level from rainfall that have at least one matching reading in visibility sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002322", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: unit, level, value, lat\n Sensor: uv_index | fields: depth, value, reading, qc\nTask: Get lat from rainfall where ts appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002323", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: value, lat, ts, unit\n Sensor: rainfall | fields: depth, value, lat, lon\nTask: Retrieve reading from drought_index whose qc is found in rainfall records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002324", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: level, depth, value, unit\n Sensor: temperature | fields: reading, qc, lon, unit\nTask: Fetch reading from evaporation that have at least one corresponding temperature measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002325", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: type, unit, reading, level\n Sensor: lightning | fields: reading, value, level, ts\nTask: Retrieve level from visibility with reading above the MAX(reading) of lightning readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"lightning\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002326", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lat, ts, unit, reading\n Sensor: temperature | fields: reading, type, depth, value\nTask: Retrieve lat from uv_index whose unit is found in temperature records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002327", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: level, unit, type, ts\n Sensor: turbidity | fields: type, level, qc, unit\nTask: Get depth from pressure where value exceeds the minimum reading from turbidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"turbidity\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002328", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lon, depth, lat, qc\n Sensor: humidity | fields: depth, lat, reading, value\nTask: Get lat from evaporation where reading exceeds the maximum depth from humidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002329", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: level, ts, depth, lon\n Sensor: uv_index | fields: qc, value, reading, ts\nTask: Get reading from cloud_cover where reading exceeds the average value from uv_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"uv_index\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002330", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: qc, value, level, reading\n Sensor: turbidity | fields: ts, lat, qc, lon\nTask: Get reading from dew_point where depth appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002331", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: level, depth, value, qc\n Sensor: pressure | fields: type, lat, level, unit\nTask: Retrieve lon from uv_index whose ts is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002332", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: qc, unit, lon, ts\n Sensor: pressure | fields: unit, ts, level, reading\nTask: Fetch lat from sunlight that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lat", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002333", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: level, reading, ts, value\n Sensor: evaporation | fields: value, lon, qc, depth\nTask: Fetch lat from humidity that have at least one corresponding evaporation measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002334", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: unit, reading, value, lat\n Sensor: drought_index | fields: depth, lon, type, value\nTask: Get reading from uv_index where qc appears in drought_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002335", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: reading, depth, lon, ts\n Sensor: pressure | fields: lon, depth, lat, type\nTask: Get lon from visibility where a corresponding entry exists in pressure with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002336", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: unit, level, ts, value\n Sensor: dew_point | fields: lon, lat, level, value\nTask: Get value from soil_moisture where unit appears in dew_point readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002337", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: value, reading, lon, unit\n Sensor: frost | fields: type, reading, lon, unit\nTask: Get level from humidity where a corresponding entry exists in frost with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "level", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002338", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: qc, lon, value, reading\n Sensor: evaporation | fields: value, depth, unit, level\nTask: Retrieve lat from uv_index that have at least one matching reading in evaporation sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lat", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002339", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: value, lat, depth, reading\n Sensor: lightning | fields: value, lon, depth, ts\nTask: Fetch depth from snow_depth where depth is greater than the minimum of value in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"lightning\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002340", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: qc, value, level, ts\n Sensor: rainfall | fields: lon, level, type, depth\nTask: Fetch lon from temperature where value is greater than the total of value in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"rainfall\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002341", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: ts, level, type, lat\n Sensor: air_quality | fields: unit, level, lon, lat\nTask: Get reading from soil_moisture where depth appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002342", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: value, ts, qc, lat\n Sensor: frost | fields: depth, reading, level, value\nTask: Get lon from drought_index where a corresponding entry exists in frost with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002343", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: ts, value, qc, lon\n Sensor: air_quality | fields: qc, unit, type, ts\nTask: Fetch reading from pressure where depth is greater than the count of of depth in air_quality for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"air_quality\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002344", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: depth, lon, lat, type\n Sensor: uv_index | fields: type, level, value, lat\nTask: Get level from dew_point where reading exceeds the minimum reading from uv_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002345", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: reading, value, lon, ts\n Sensor: air_quality | fields: type, value, unit, lat\nTask: Get reading from sunlight where a corresponding entry exists in air_quality with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002346", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: value, ts, lat, lon\n Sensor: pressure | fields: depth, unit, type, reading\nTask: Retrieve lon from rainfall whose qc is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002347", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: unit, qc, lon, ts\n Sensor: frost | fields: qc, type, level, ts\nTask: Fetch lat from lightning where depth exists in frost sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002348", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: level, lat, depth, ts\n Sensor: snow_depth | fields: lon, value, lat, reading\nTask: Get lon from dew_point where a corresponding entry exists in snow_depth with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002349", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: ts, qc, unit, reading\n Sensor: air_quality | fields: depth, type, reading, level\nTask: Fetch depth from pressure where ts exists in air_quality sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002350", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lat, qc, depth, reading\n Sensor: turbidity | fields: lon, lat, unit, type\nTask: Retrieve depth from wind_speed that have at least one matching reading in turbidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002351", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: unit, lat, type, lon\n Sensor: cloud_cover | fields: unit, ts, qc, depth\nTask: Get lat from sunlight where depth exceeds the total reading from cloud_cover for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002352", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: value, lon, unit, level\n Sensor: uv_index | fields: value, level, reading, depth\nTask: Retrieve depth from air_quality with reading above the MIN(depth) of uv_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002353", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: type, level, value, unit\n Sensor: drought_index | fields: value, lon, ts, qc\nTask: Get lon from visibility where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002354", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: ts, reading, value, lon\n Sensor: air_quality | fields: reading, level, qc, type\nTask: Get level from sunlight where a corresponding entry exists in air_quality with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "level", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002355", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: unit, qc, depth, level\n Sensor: dew_point | fields: qc, ts, level, value\nTask: Retrieve reading from soil_moisture that have at least one matching reading in dew_point sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "reading", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002356", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lat, reading, level, unit\n Sensor: evaporation | fields: value, ts, unit, lat\nTask: Retrieve value from visibility with depth above the MIN(value) of evaporation readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"evaporation\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002357", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: qc, type, lat, depth\n Sensor: drought_index | fields: value, ts, unit, level\nTask: Get reading from cloud_cover where value exceeds the minimum reading from drought_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"drought_index\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002358", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: qc, depth, unit, value\n Sensor: soil_moisture | fields: level, reading, depth, unit\nTask: Get depth from rainfall where reading exceeds the minimum value from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"soil_moisture\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002359", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: depth, level, ts, lon\n Sensor: turbidity | fields: type, ts, lat, level\nTask: Get value from wind_speed where ts appears in turbidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002360", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: unit, lat, lon, value\n Sensor: visibility | fields: qc, level, reading, lat\nTask: Get lon from cloud_cover where qc appears in visibility readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002361", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: depth, lon, reading, level\n Sensor: evaporation | fields: reading, qc, lon, depth\nTask: Retrieve reading from dew_point with depth above the SUM(value) of evaporation readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"evaporation\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002362", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: ts, lat, value, level\n Sensor: evaporation | fields: lon, depth, reading, unit\nTask: Retrieve depth from wind_speed that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002363", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: depth, level, ts, lon\n Sensor: air_quality | fields: reading, qc, level, type\nTask: Get level from lightning where depth appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002364", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: unit, level, lat, type\n Sensor: cloud_cover | fields: level, depth, lon, reading\nTask: Get depth from turbidity where value exceeds the minimum value from cloud_cover for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"cloud_cover\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002365", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: value, qc, type, unit\n Sensor: snow_depth | fields: lat, type, level, value\nTask: Retrieve lat from air_quality whose ts is found in snow_depth records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002366", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: lon, lat, depth, level\n Sensor: lightning | fields: unit, value, type, lat\nTask: Fetch lon from cloud_cover where unit exists in lightning sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002367", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: value, ts, reading, lon\n Sensor: sunlight | fields: qc, reading, ts, lon\nTask: Retrieve lon from lightning that have at least one matching reading in sunlight sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002368", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: type, ts, lat, unit\n Sensor: dew_point | fields: qc, depth, unit, ts\nTask: Fetch reading from sunlight where depth is greater than the count of of depth in dew_point for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"dew_point\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002369", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: qc, depth, reading, value\n Sensor: cloud_cover | fields: qc, type, ts, value\nTask: Fetch level from uv_index where value is greater than the average of reading in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002370", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: ts, unit, qc, type\n Sensor: lightning | fields: lon, reading, qc, ts\nTask: Fetch value from sunlight that have at least one corresponding lightning measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002371", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: reading, level, qc, value\n Sensor: uv_index | fields: qc, value, lon, type\nTask: Get lon from soil_moisture where a corresponding entry exists in uv_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lon", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002372", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: value, ts, level, unit\n Sensor: temperature | fields: ts, lon, level, value\nTask: Fetch depth from soil_moisture that have at least one corresponding temperature measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002373", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: depth, lat, value, level\n Sensor: frost | fields: ts, reading, unit, type\nTask: Fetch lon from air_quality that have at least one corresponding frost measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002374", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: qc, depth, type, reading\n Sensor: cloud_cover | fields: reading, lat, value, type\nTask: Fetch level from rainfall where ts exists in cloud_cover sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002375", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: level, type, reading, lon\n Sensor: evaporation | fields: lon, lat, reading, type\nTask: Retrieve level from soil_moisture with reading above the SUM(depth) of evaporation readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002376", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: reading, level, unit, lon\n Sensor: snow_depth | fields: lat, depth, unit, ts\nTask: Get lat from humidity where a corresponding entry exists in snow_depth with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lat", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002377", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: level, type, value, depth\n Sensor: soil_moisture | fields: qc, level, lat, unit\nTask: Retrieve value from rainfall that have at least one matching reading in soil_moisture sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002378", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: type, qc, unit, lat\n Sensor: wind_speed | fields: unit, level, value, ts\nTask: Fetch value from temperature where ts exists in wind_speed sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002379", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: value, ts, level, lon\n Sensor: cloud_cover | fields: reading, qc, type, value\nTask: Retrieve level from sunlight with depth above the SUM(reading) of cloud_cover readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002380", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: level, unit, ts, value\n Sensor: rainfall | fields: level, qc, ts, unit\nTask: Retrieve lat from humidity with depth above the MIN(value) of rainfall readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"rainfall\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002381", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: ts, value, level, reading\n Sensor: temperature | fields: unit, type, value, reading\nTask: Get level from evaporation where type appears in temperature readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002382", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lon, value, ts, reading\n Sensor: sunlight | fields: depth, reading, qc, level\nTask: Get lon from frost where type appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002383", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: unit, value, depth, level\n Sensor: uv_index | fields: unit, lat, level, value\nTask: Fetch value from sunlight that have at least one corresponding uv_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002384", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: reading, unit, value, level\n Sensor: wind_speed | fields: lon, unit, value, lat\nTask: Retrieve lon from dew_point that have at least one matching reading in wind_speed sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002385", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: ts, lon, type, lat\n Sensor: air_quality | fields: type, lon, unit, ts\nTask: Retrieve level from temperature that have at least one matching reading in air_quality sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "level", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002386", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: level, depth, lon, reading\n Sensor: uv_index | fields: lat, unit, level, reading\nTask: Fetch reading from air_quality where value is greater than the count of of reading in uv_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"uv_index\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002387", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: unit, type, qc, reading\n Sensor: air_quality | fields: type, unit, lon, qc\nTask: Retrieve value from uv_index with depth above the SUM(reading) of air_quality readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"air_quality\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002388", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: depth, lon, level, qc\n Sensor: sunlight | fields: type, qc, value, reading\nTask: Fetch level from uv_index that have at least one corresponding sunlight measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "level", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002389", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: depth, lat, ts, reading\n Sensor: snow_depth | fields: lon, value, unit, qc\nTask: Fetch level from dew_point that have at least one corresponding snow_depth measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002390", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: value, ts, reading, lat\n Sensor: evaporation | fields: type, value, lat, depth\nTask: Retrieve lon from dew_point with reading above the AVG(depth) of evaporation readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"evaporation\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002391", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: value, depth, unit, lat\n Sensor: frost | fields: qc, value, depth, lon\nTask: Retrieve value from temperature that have at least one matching reading in frost sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002392", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: type, ts, qc, lat\n Sensor: wind_speed | fields: lat, reading, ts, qc\nTask: Retrieve reading from evaporation that have at least one matching reading in wind_speed sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002393", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: lat, reading, ts, unit\n Sensor: air_quality | fields: level, qc, depth, reading\nTask: Fetch reading from cloud_cover where depth is greater than the minimum of depth in air_quality for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"air_quality\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002394", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: qc, unit, level, value\n Sensor: dew_point | fields: unit, depth, type, lon\nTask: Fetch value from cloud_cover where depth exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002395", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lat, unit, qc, depth\n Sensor: humidity | fields: value, unit, qc, lat\nTask: Fetch level from pressure where ts exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002396", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: value, type, lat, unit\n Sensor: humidity | fields: level, value, reading, lon\nTask: Get depth from visibility where a corresponding entry exists in humidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002397", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: value, qc, reading, unit\n Sensor: rainfall | fields: ts, reading, level, qc\nTask: Retrieve value from air_quality that have at least one matching reading in rainfall sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002398", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: value, ts, unit, type\n Sensor: rainfall | fields: value, unit, ts, depth\nTask: Get lon from frost where ts appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002399", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lat, value, type, unit\n Sensor: rainfall | fields: value, unit, lon, reading\nTask: Retrieve lon from snow_depth that have at least one matching reading in rainfall sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002400", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: reading, lon, lat, depth\n Sensor: drought_index | fields: depth, level, unit, value\nTask: Fetch reading from frost where value is greater than the maximum of reading in drought_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"drought_index\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002401", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: depth, value, ts, reading\n Sensor: pressure | fields: lon, level, type, depth\nTask: Fetch lon from turbidity where value is greater than the average of depth in pressure for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002402", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: depth, value, reading, qc\n Sensor: air_quality | fields: lat, reading, value, unit\nTask: Retrieve lat from rainfall whose unit is found in air_quality records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002403", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: level, qc, value, type\n Sensor: pressure | fields: qc, reading, type, lat\nTask: Fetch level from evaporation that have at least one corresponding pressure measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "level", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002404", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: type, lon, unit, depth\n Sensor: visibility | fields: qc, ts, unit, lon\nTask: Retrieve value from turbidity whose ts is found in visibility records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002405", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: reading, lat, ts, qc\n Sensor: rainfall | fields: value, depth, level, qc\nTask: Fetch value from pressure where depth is greater than the minimum of reading in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"rainfall\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002406", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lat, value, reading, depth\n Sensor: soil_moisture | fields: level, depth, value, reading\nTask: Fetch lon from dew_point where reading is greater than the average of reading in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002407", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: depth, lat, unit, type\n Sensor: uv_index | fields: lat, unit, depth, qc\nTask: Fetch level from temperature where type exists in uv_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002408", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: unit, value, ts, depth\n Sensor: rainfall | fields: qc, value, level, lon\nTask: Get lat from air_quality where value exceeds the maximum value from rainfall for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"rainfall\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002409", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: ts, lon, qc, lat\n Sensor: frost | fields: level, lon, unit, ts\nTask: Fetch level from snow_depth that have at least one corresponding frost measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002410", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: unit, qc, level, reading\n Sensor: lightning | fields: ts, depth, qc, unit\nTask: Retrieve value from drought_index whose unit is found in lightning records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002411", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: ts, qc, level, lon\n Sensor: humidity | fields: value, lon, level, reading\nTask: Get reading from cloud_cover where reading exceeds the average reading from humidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"humidity\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002412", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: unit, value, lat, ts\n Sensor: soil_moisture | fields: value, unit, qc, lon\nTask: Fetch value from humidity where ts exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002413", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: type, reading, level, depth\n Sensor: drought_index | fields: reading, type, lat, value\nTask: Get value from frost where depth exceeds the maximum reading from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"drought_index\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002414", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: type, unit, value, depth\n Sensor: rainfall | fields: reading, depth, qc, level\nTask: Retrieve level from soil_moisture whose type is found in rainfall records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002415", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: depth, unit, qc, value\n Sensor: turbidity | fields: type, depth, value, ts\nTask: Get lon from pressure where depth exceeds the minimum value from turbidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"turbidity\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002416", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: ts, level, qc, reading\n Sensor: turbidity | fields: lat, qc, unit, lon\nTask: Retrieve lon from dew_point that have at least one matching reading in turbidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002417", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lon, unit, ts, type\n Sensor: dew_point | fields: reading, lat, depth, type\nTask: Fetch lat from rainfall where ts exists in dew_point sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002418", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: qc, unit, ts, lon\n Sensor: temperature | fields: type, qc, reading, value\nTask: Fetch level from evaporation that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "level", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002419", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: ts, unit, level, qc\n Sensor: snow_depth | fields: value, reading, unit, qc\nTask: Fetch lat from frost where depth is greater than the total of depth in snow_depth for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"snow_depth\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002420", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: level, value, ts, lat\n Sensor: air_quality | fields: type, value, unit, qc\nTask: Fetch lat from lightning that have at least one corresponding air_quality measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002421", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: unit, value, lat, type\n Sensor: lightning | fields: type, reading, lat, ts\nTask: Fetch reading from temperature where depth is greater than the average of reading in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"lightning\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002422", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: value, type, lon, lat\n Sensor: sunlight | fields: value, ts, lon, type\nTask: Get depth from wind_speed where a corresponding entry exists in sunlight with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002423", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: level, unit, depth, reading\n Sensor: sunlight | fields: lat, qc, value, type\nTask: Fetch value from humidity that have at least one corresponding sunlight measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002424", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: type, ts, level, lon\n Sensor: air_quality | fields: reading, qc, ts, lon\nTask: Get level from drought_index where qc appears in air_quality readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002425", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: level, qc, lon, type\n Sensor: lightning | fields: lat, type, qc, depth\nTask: Fetch reading from wind_speed that have at least one corresponding lightning measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002426", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lat, lon, reading, ts\n Sensor: snow_depth | fields: qc, value, lon, reading\nTask: Retrieve value from wind_speed that have at least one matching reading in snow_depth sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "value", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002427", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: depth, lon, lat, level\n Sensor: evaporation | fields: type, lat, unit, ts\nTask: Retrieve value from rainfall with depth above the MIN(depth) of evaporation readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002428", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: qc, depth, value, lon\n Sensor: evaporation | fields: reading, lon, lat, level\nTask: Get reading from lightning where depth exceeds the average reading from evaporation for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002429", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: depth, value, ts, unit\n Sensor: sunlight | fields: lon, type, value, qc\nTask: Retrieve level from drought_index whose unit is found in sunlight records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "level", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002430", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: type, level, lon, qc\n Sensor: air_quality | fields: reading, ts, lon, lat\nTask: Fetch value from uv_index where depth is greater than the maximum of depth in air_quality for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"air_quality\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002431", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: qc, lon, value, reading\n Sensor: soil_moisture | fields: depth, unit, type, ts\nTask: Get level from evaporation where a corresponding entry exists in soil_moisture with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002432", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: reading, depth, level, unit\n Sensor: sunlight | fields: lat, lon, depth, unit\nTask: Fetch value from wind_speed where reading is greater than the average of reading in sunlight for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002433", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lat, unit, reading, lon\n Sensor: frost | fields: lat, value, type, qc\nTask: Get value from humidity where depth exceeds the maximum reading from frost for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002434", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: depth, value, type, unit\n Sensor: cloud_cover | fields: ts, lat, depth, level\nTask: Retrieve value from pressure that have at least one matching reading in cloud_cover sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002435", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: type, lat, qc, depth\n Sensor: soil_moisture | fields: lat, qc, value, depth\nTask: Fetch lon from drought_index where depth is greater than the count of of value in soil_moisture for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"soil_moisture\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002436", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: depth, type, qc, level\n Sensor: snow_depth | fields: type, qc, reading, unit\nTask: Retrieve lat from frost whose type is found in snow_depth records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002437", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lon, lat, level, depth\n Sensor: soil_moisture | fields: ts, reading, lat, lon\nTask: Fetch level from frost where qc exists in soil_moisture sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002438", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: reading, level, lat, ts\n Sensor: air_quality | fields: unit, lon, value, lat\nTask: Fetch reading from wind_speed where depth exists in air_quality sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002439", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: ts, reading, lon, level\n Sensor: humidity | fields: type, value, lat, ts\nTask: Fetch lat from turbidity that have at least one corresponding humidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002440", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lat, reading, ts, lon\n Sensor: wind_speed | fields: level, type, depth, ts\nTask: Fetch level from air_quality where type exists in wind_speed sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002441", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: value, qc, lat, depth\n Sensor: evaporation | fields: reading, qc, lat, value\nTask: Fetch depth from cloud_cover that have at least one corresponding evaporation measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002442", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: level, lon, qc, lat\n Sensor: evaporation | fields: depth, level, reading, value\nTask: Fetch value from lightning that have at least one corresponding evaporation measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002443", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: reading, lat, lon, unit\n Sensor: soil_moisture | fields: qc, reading, ts, level\nTask: Fetch lat from lightning where value is greater than the count of of reading in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002444", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: reading, ts, type, level\n Sensor: sunlight | fields: value, level, lat, depth\nTask: Fetch depth from pressure that have at least one corresponding sunlight measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002445", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: unit, lon, ts, lat\n Sensor: temperature | fields: level, reading, unit, depth\nTask: Get lon from evaporation where unit appears in temperature readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002446", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: level, value, ts, lat\n Sensor: wind_speed | fields: qc, reading, lat, unit\nTask: Fetch depth from turbidity where depth is greater than the maximum of value in wind_speed for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002447", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: level, reading, ts, value\n Sensor: wind_speed | fields: type, depth, lat, reading\nTask: Get lon from humidity where a corresponding entry exists in wind_speed with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002448", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: level, value, ts, depth\n Sensor: visibility | fields: lon, level, reading, unit\nTask: Get lat from sunlight where value exceeds the average value from visibility for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"visibility\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002449", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: unit, value, lon, qc\n Sensor: turbidity | fields: depth, reading, qc, ts\nTask: Fetch value from drought_index that have at least one corresponding turbidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002450", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: lon, ts, unit, depth\n Sensor: sunlight | fields: ts, value, unit, level\nTask: Retrieve level from temperature that have at least one matching reading in sunlight sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002451", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: lon, reading, unit, level\n Sensor: frost | fields: reading, level, depth, unit\nTask: Retrieve depth from humidity with depth above the AVG(reading) of frost readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"frost\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002452", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lat, value, unit, ts\n Sensor: wind_speed | fields: type, qc, reading, lat\nTask: Get level from uv_index where a corresponding entry exists in wind_speed with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002453", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: type, lat, unit, level\n Sensor: air_quality | fields: lat, qc, unit, value\nTask: Fetch depth from humidity where ts exists in air_quality sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002454", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: ts, lon, level, depth\n Sensor: evaporation | fields: unit, lat, type, level\nTask: Fetch lat from frost where type exists in evaporation sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002455", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: value, qc, lon, lat\n Sensor: evaporation | fields: value, lon, lat, qc\nTask: Fetch level from frost where ts exists in evaporation sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002456", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: level, lon, value, unit\n Sensor: temperature | fields: lat, ts, level, type\nTask: Retrieve depth from evaporation that have at least one matching reading in temperature sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002457", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: reading, depth, ts, level\n Sensor: dew_point | fields: qc, ts, value, type\nTask: Fetch value from visibility where depth exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002458", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: depth, unit, lon, level\n Sensor: rainfall | fields: level, value, qc, ts\nTask: Retrieve value from evaporation whose depth is found in rainfall records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002459", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lat, ts, type, lon\n Sensor: air_quality | fields: qc, ts, level, depth\nTask: Fetch lat from turbidity where unit exists in air_quality sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002460", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: depth, lat, value, unit\n Sensor: humidity | fields: reading, depth, lon, level\nTask: Get reading from rainfall where depth exceeds the average reading from humidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"humidity\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002461", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: value, qc, level, reading\n Sensor: drought_index | fields: type, value, level, lon\nTask: Fetch reading from wind_speed where ts exists in drought_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002462", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: level, lon, unit, qc\n Sensor: evaporation | fields: value, unit, ts, lat\nTask: Get lon from snow_depth where qc appears in evaporation readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002463", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: reading, level, qc, unit\n Sensor: drought_index | fields: lon, qc, unit, value\nTask: Retrieve depth from uv_index that have at least one matching reading in drought_index sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002464", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: value, reading, ts, lat\n Sensor: rainfall | fields: qc, reading, lon, type\nTask: Retrieve lon from uv_index whose qc is found in rainfall records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002465", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: ts, lat, depth, qc\n Sensor: cloud_cover | fields: value, type, qc, lon\nTask: Fetch depth from drought_index where ts exists in cloud_cover sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002466", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lat, qc, reading, type\n Sensor: soil_moisture | fields: value, depth, reading, unit\nTask: Get reading from drought_index where depth appears in soil_moisture readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002467", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: type, ts, lat, level\n Sensor: humidity | fields: unit, lon, value, depth\nTask: Retrieve level from visibility with value above the MAX(depth) of humidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002468", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: type, value, qc, level\n Sensor: sunlight | fields: depth, ts, reading, type\nTask: Get lat from dew_point where depth exceeds the minimum value from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"sunlight\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002469", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: depth, type, reading, qc\n Sensor: dew_point | fields: type, value, depth, unit\nTask: Get lon from rainfall where qc appears in dew_point readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002470", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: level, lat, qc, type\n Sensor: cloud_cover | fields: ts, level, lon, lat\nTask: Get reading from soil_moisture where depth exceeds the maximum reading from cloud_cover for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002471", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: depth, level, value, qc\n Sensor: dew_point | fields: lat, reading, type, value\nTask: Retrieve lat from air_quality whose type is found in dew_point records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002472", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: value, ts, depth, lon\n Sensor: temperature | fields: ts, level, unit, reading\nTask: Fetch depth from rainfall where type exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002473", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: depth, unit, reading, value\n Sensor: temperature | fields: unit, lat, value, lon\nTask: Retrieve value from air_quality that have at least one matching reading in temperature sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "value", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002474", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: type, lat, ts, value\n Sensor: evaporation | fields: value, type, lon, qc\nTask: Fetch lon from humidity that have at least one corresponding evaporation measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002475", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: level, ts, reading, qc\n Sensor: pressure | fields: lat, unit, depth, reading\nTask: Retrieve level from sunlight with depth above the AVG(reading) of pressure readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"pressure\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002476", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: unit, type, value, qc\n Sensor: snow_depth | fields: qc, depth, type, lat\nTask: Get lon from sunlight where reading exceeds the average value from snow_depth for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"snow_depth\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002477", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: level, lon, value, type\n Sensor: sunlight | fields: ts, depth, value, unit\nTask: Retrieve value from air_quality with value above the SUM(value) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"sunlight\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002478", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: unit, type, lat, qc\n Sensor: pressure | fields: level, ts, unit, qc\nTask: Retrieve level from turbidity that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "level", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002479", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: depth, qc, level, type\n Sensor: humidity | fields: ts, reading, lon, lat\nTask: Fetch depth from dew_point that have at least one corresponding humidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002480", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: lat, type, value, depth\n Sensor: wind_speed | fields: level, reading, lat, lon\nTask: Get value from cloud_cover where value exceeds the total value from wind_speed for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002481", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: value, depth, unit, lat\n Sensor: frost | fields: unit, depth, lon, ts\nTask: Get lat from rainfall where a corresponding entry exists in frost with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002482", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: reading, level, lon, depth\n Sensor: visibility | fields: level, value, qc, type\nTask: Get value from pressure where a corresponding entry exists in visibility with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "value", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002483", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, unit, reading, lat\n Sensor: cloud_cover | fields: unit, depth, type, lon\nTask: Get reading from uv_index where ts appears in cloud_cover readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002484", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: value, reading, unit, depth\n Sensor: cloud_cover | fields: lat, ts, lon, level\nTask: Retrieve value from drought_index that have at least one matching reading in cloud_cover sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002485", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: reading, ts, unit, depth\n Sensor: soil_moisture | fields: qc, type, lat, lon\nTask: Get level from sunlight where ts appears in soil_moisture readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002486", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: unit, reading, depth, qc\n Sensor: evaporation | fields: lat, type, ts, reading\nTask: Get lat from visibility where qc appears in evaporation readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002487", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: unit, reading, type, level\n Sensor: rainfall | fields: level, qc, depth, reading\nTask: Get lon from drought_index where type appears in rainfall readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002488", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: lon, reading, unit, ts\n Sensor: turbidity | fields: ts, type, unit, value\nTask: Retrieve lon from cloud_cover whose ts is found in turbidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002489", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lon, level, depth, lat\n Sensor: visibility | fields: depth, unit, value, lat\nTask: Get lon from snow_depth where depth appears in visibility readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002490", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: type, value, level, lat\n Sensor: turbidity | fields: lat, unit, type, reading\nTask: Fetch depth from temperature where ts exists in turbidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002491", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: lat, lon, type, qc\n Sensor: pressure | fields: value, level, type, qc\nTask: Get level from rainfall where qc appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002492", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lat, type, ts, depth\n Sensor: cloud_cover | fields: value, level, lat, depth\nTask: Fetch level from sunlight where ts exists in cloud_cover sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002493", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: depth, lat, level, lon\n Sensor: air_quality | fields: value, reading, lat, unit\nTask: Retrieve depth from drought_index with reading above the MIN(depth) of air_quality readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"air_quality\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002494", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: level, lat, type, lon\n Sensor: snow_depth | fields: type, unit, value, reading\nTask: Fetch lat from wind_speed where value is greater than the maximum of reading in snow_depth for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002495", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: value, reading, ts, qc\n Sensor: temperature | fields: type, level, value, lon\nTask: Get reading from rainfall where value exceeds the total reading from temperature for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002496", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: unit, qc, type, level\n Sensor: humidity | fields: level, ts, value, reading\nTask: Retrieve depth from evaporation with depth above the MAX(value) of humidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"humidity\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002497", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: unit, qc, lat, ts\n Sensor: temperature | fields: lat, reading, depth, value\nTask: Retrieve level from air_quality with depth above the MIN(depth) of temperature readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"temperature\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002498", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: reading, lat, unit, type\n Sensor: frost | fields: unit, lon, depth, qc\nTask: Retrieve reading from rainfall whose depth is found in frost records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002499", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: lon, type, value, qc\n Sensor: humidity | fields: reading, ts, level, value\nTask: Fetch depth from drought_index where depth is greater than the count of of value in humidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"humidity\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002500", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: unit, qc, reading, lat\n Sensor: evaporation | fields: level, reading, ts, qc\nTask: Get lon from dew_point where a corresponding entry exists in evaporation with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002501", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: reading, qc, lat, level\n Sensor: drought_index | fields: reading, depth, value, unit\nTask: Get lon from wind_speed where a corresponding entry exists in drought_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002502", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: value, reading, depth, qc\n Sensor: visibility | fields: value, unit, ts, type\nTask: Get lon from evaporation where qc appears in visibility readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002503", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: lat, level, reading, type\n Sensor: evaporation | fields: level, depth, value, reading\nTask: Get lat from wind_speed where qc appears in evaporation readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002504", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: lon, depth, reading, ts\n Sensor: snow_depth | fields: depth, lon, value, type\nTask: Retrieve reading from temperature with value above the AVG(reading) of snow_depth readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"snow_depth\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002505", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: qc, depth, lon, reading\n Sensor: temperature | fields: qc, depth, lat, ts\nTask: Fetch value from dew_point where ts exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002506", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: value, unit, depth, type\n Sensor: pressure | fields: level, qc, lat, reading\nTask: Get reading from snow_depth where depth exceeds the total depth from pressure for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"pressure\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002507", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: value, unit, ts, level\n Sensor: cloud_cover | fields: value, qc, ts, type\nTask: Retrieve value from drought_index that have at least one matching reading in cloud_cover sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002508", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: type, value, ts, reading\n Sensor: uv_index | fields: lon, type, qc, level\nTask: Retrieve lon from humidity that have at least one matching reading in uv_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002509", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: qc, ts, reading, value\n Sensor: sunlight | fields: ts, level, reading, unit\nTask: Get lon from lightning where a corresponding entry exists in sunlight with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002510", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: reading, ts, type, lat\n Sensor: dew_point | fields: lat, qc, depth, reading\nTask: Retrieve lat from turbidity with value above the SUM(reading) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"dew_point\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002511", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: level, unit, ts, reading\n Sensor: turbidity | fields: lon, ts, depth, unit\nTask: Retrieve lat from cloud_cover with reading above the AVG(value) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"turbidity\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002512", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, lat, lon, reading\n Sensor: turbidity | fields: qc, value, lon, depth\nTask: Retrieve level from uv_index with reading above the MIN(depth) of turbidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"turbidity\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002513", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: value, unit, level, lon\n Sensor: drought_index | fields: ts, unit, lat, reading\nTask: Get reading from frost where type appears in drought_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002514", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: lon, lat, reading, ts\n Sensor: soil_moisture | fields: value, qc, unit, ts\nTask: Get depth from drought_index where value exceeds the count of value from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"soil_moisture\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002515", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: level, value, qc, lon\n Sensor: snow_depth | fields: qc, ts, lat, value\nTask: Fetch lon from frost where reading is greater than the average of depth in snow_depth for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"snow_depth\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002516", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: type, unit, depth, qc\n Sensor: dew_point | fields: value, unit, level, type\nTask: Get lon from evaporation where value exceeds the total reading from dew_point for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"dew_point\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002517", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: type, qc, ts, lat\n Sensor: uv_index | fields: depth, type, value, unit\nTask: Fetch reading from cloud_cover where value is greater than the average of value in uv_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"uv_index\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002518", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: reading, type, value, unit\n Sensor: wind_speed | fields: ts, type, level, reading\nTask: Retrieve lat from evaporation whose ts is found in wind_speed records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002519", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: qc, ts, depth, value\n Sensor: uv_index | fields: reading, lon, type, qc\nTask: Retrieve level from dew_point that have at least one matching reading in uv_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002520", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lat, reading, qc, level\n Sensor: uv_index | fields: value, reading, depth, qc\nTask: Retrieve level from evaporation that have at least one matching reading in uv_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002521", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lon, ts, level, lat\n Sensor: cloud_cover | fields: depth, lat, type, ts\nTask: Retrieve value from turbidity that have at least one matching reading in cloud_cover sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002522", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: ts, lat, unit, type\n Sensor: humidity | fields: reading, unit, type, depth\nTask: Get depth from turbidity where a corresponding entry exists in humidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002523", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: reading, value, lat, type\n Sensor: visibility | fields: lat, value, lon, ts\nTask: Fetch lon from cloud_cover that have at least one corresponding visibility measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002524", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: value, depth, type, reading\n Sensor: temperature | fields: unit, level, value, lon\nTask: Get depth from rainfall where qc appears in temperature readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002525", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: reading, ts, lat, qc\n Sensor: air_quality | fields: ts, type, lat, qc\nTask: Fetch lat from sunlight that have at least one corresponding air_quality measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002526", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: level, qc, depth, unit\n Sensor: evaporation | fields: unit, value, type, lat\nTask: Retrieve lat from pressure with reading above the COUNT(depth) of evaporation readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"evaporation\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002527", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lat, value, unit, level\n Sensor: temperature | fields: qc, value, lon, reading\nTask: Fetch lat from evaporation where type exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002528", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: reading, depth, qc, ts\n Sensor: rainfall | fields: depth, lon, value, lat\nTask: Get value from temperature where qc appears in rainfall readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002529", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: reading, qc, type, level\n Sensor: snow_depth | fields: lat, unit, ts, depth\nTask: Get level from drought_index where a corresponding entry exists in snow_depth with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002530", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lat, unit, ts, lon\n Sensor: soil_moisture | fields: value, lon, level, ts\nTask: Fetch depth from evaporation where depth is greater than the total of reading in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002531", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lat, value, unit, ts\n Sensor: drought_index | fields: reading, unit, lon, value\nTask: Get value from cloud_cover where ts appears in drought_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002532", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: reading, depth, lon, value\n Sensor: pressure | fields: value, qc, depth, ts\nTask: Fetch reading from uv_index where unit exists in pressure sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002533", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: ts, depth, type, qc\n Sensor: turbidity | fields: qc, value, ts, depth\nTask: Fetch lat from cloud_cover where type exists in turbidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002534", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lon, ts, level, qc\n Sensor: cloud_cover | fields: level, unit, ts, lat\nTask: Get lat from dew_point where depth exceeds the count of depth from cloud_cover for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002535", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: unit, level, reading, qc\n Sensor: pressure | fields: lon, lat, qc, unit\nTask: Retrieve level from soil_moisture with reading above the MIN(value) of pressure readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"pressure\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002536", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: value, qc, lon, lat\n Sensor: frost | fields: value, ts, lon, depth\nTask: Get depth from air_quality where reading exceeds the total value from frost for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"frost\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002537", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: level, unit, depth, type\n Sensor: dew_point | fields: qc, lon, ts, reading\nTask: Retrieve lat from pressure with value above the COUNT(reading) of dew_point readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"dew_point\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002538", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: value, qc, ts, type\n Sensor: evaporation | fields: ts, lon, unit, qc\nTask: Fetch value from pressure where ts exists in evaporation sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002539", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: unit, lat, lon, value\n Sensor: air_quality | fields: lon, reading, lat, level\nTask: Get value from snow_depth where type appears in air_quality readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002540", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: unit, reading, depth, type\n Sensor: turbidity | fields: lon, depth, reading, type\nTask: Retrieve reading from temperature that have at least one matching reading in turbidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002541", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: type, ts, lon, level\n Sensor: uv_index | fields: level, ts, value, reading\nTask: Get depth from wind_speed where ts appears in uv_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002542", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: lat, unit, qc, lon\n Sensor: visibility | fields: reading, ts, unit, lon\nTask: Fetch reading from dew_point where depth exists in visibility sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002543", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: qc, lat, ts, depth\n Sensor: uv_index | fields: level, lat, type, depth\nTask: Get lat from lightning where depth appears in uv_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002544", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: level, reading, qc, value\n Sensor: cloud_cover | fields: lon, value, depth, qc\nTask: Get lon from dew_point where qc appears in cloud_cover readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002545", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: depth, qc, value, unit\n Sensor: dew_point | fields: lon, depth, reading, unit\nTask: Fetch level from humidity where type exists in dew_point sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002546", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: level, ts, lat, unit\n Sensor: temperature | fields: depth, qc, lat, value\nTask: Retrieve level from air_quality that have at least one matching reading in temperature sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "level", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002547", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: value, qc, type, depth\n Sensor: air_quality | fields: ts, qc, lon, value\nTask: Retrieve depth from lightning that have at least one matching reading in air_quality sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002548", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lon, unit, depth, qc\n Sensor: drought_index | fields: ts, lat, reading, value\nTask: Retrieve lat from dew_point that have at least one matching reading in drought_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lat", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002549", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: value, lon, reading, level\n Sensor: snow_depth | fields: reading, unit, lon, ts\nTask: Retrieve depth from soil_moisture whose depth is found in snow_depth records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002550", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: lat, type, depth, value\n Sensor: soil_moisture | fields: depth, ts, qc, lon\nTask: Fetch value from temperature where depth exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002551", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: ts, reading, qc, depth\n Sensor: turbidity | fields: reading, lon, level, lat\nTask: Fetch reading from cloud_cover where value is greater than the average of depth in turbidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"turbidity\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002552", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: level, value, lat, reading\n Sensor: dew_point | fields: type, depth, value, ts\nTask: Retrieve depth from sunlight that have at least one matching reading in dew_point sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002553", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: value, unit, qc, reading\n Sensor: lightning | fields: value, level, qc, lat\nTask: Fetch depth from snow_depth that have at least one corresponding lightning measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002554", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: type, level, depth, reading\n Sensor: drought_index | fields: qc, lat, reading, value\nTask: Retrieve lon from pressure that have at least one matching reading in drought_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002555", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: type, value, level, depth\n Sensor: temperature | fields: depth, ts, unit, qc\nTask: Fetch value from humidity where value is greater than the average of depth in temperature for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"temperature\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002556", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: level, ts, lat, value\n Sensor: cloud_cover | fields: ts, type, lon, reading\nTask: Get depth from lightning where a corresponding entry exists in cloud_cover with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002557", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: type, lat, reading, qc\n Sensor: humidity | fields: value, lon, unit, reading\nTask: Fetch lat from frost where depth is greater than the maximum of reading in humidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"humidity\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002558", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: depth, level, reading, value\n Sensor: pressure | fields: lat, qc, reading, depth\nTask: Get lat from snow_depth where depth appears in pressure readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002559", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lat, level, ts, unit\n Sensor: snow_depth | fields: reading, lat, qc, level\nTask: Get lon from dew_point where depth appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002560", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: reading, value, lat, ts\n Sensor: dew_point | fields: level, lon, ts, type\nTask: Get value from air_quality where type appears in dew_point readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002561", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: lon, type, reading, value\n Sensor: snow_depth | fields: value, level, reading, lon\nTask: Get lat from turbidity where unit appears in snow_depth readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002562", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: level, lon, lat, unit\n Sensor: lightning | fields: type, level, qc, value\nTask: Get lat from visibility where value exceeds the average value from lightning for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"lightning\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002563", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: type, lat, reading, unit\n Sensor: rainfall | fields: reading, type, depth, ts\nTask: Get lat from drought_index where depth appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002564", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: level, ts, reading, unit\n Sensor: frost | fields: reading, level, unit, lon\nTask: Get lon from soil_moisture where unit appears in frost readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002565", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: value, qc, type, ts\n Sensor: drought_index | fields: value, lon, depth, qc\nTask: Fetch reading from sunlight that have at least one corresponding drought_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "reading", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002566", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: qc, level, value, lat\n Sensor: drought_index | fields: value, qc, reading, lon\nTask: Retrieve lon from cloud_cover that have at least one matching reading in drought_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002567", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: lat, ts, qc, lon\n Sensor: cloud_cover | fields: value, qc, lat, ts\nTask: Fetch lat from sunlight where qc exists in cloud_cover sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002568", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: depth, lon, qc, ts\n Sensor: humidity | fields: reading, lat, qc, type\nTask: Get lon from pressure where value exceeds the average depth from humidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"humidity\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002569", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: unit, value, reading, type\n Sensor: air_quality | fields: lon, level, reading, value\nTask: Fetch depth from drought_index where unit exists in air_quality sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002570", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: lat, level, value, ts\n Sensor: visibility | fields: value, depth, level, qc\nTask: Get depth from frost where depth exceeds the count of value from visibility for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"visibility\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002571", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: unit, lat, qc, lon\n Sensor: pressure | fields: lon, depth, unit, type\nTask: Fetch lat from temperature where depth is greater than the count of of reading in pressure for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002572", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: level, type, value, depth\n Sensor: evaporation | fields: value, depth, level, qc\nTask: Get lon from pressure where a corresponding entry exists in evaporation with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002573", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: value, lon, qc, depth\n Sensor: dew_point | fields: lon, unit, lat, depth\nTask: Fetch level from drought_index where reading is greater than the maximum of value in dew_point for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002574", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: ts, depth, value, reading\n Sensor: air_quality | fields: reading, type, level, qc\nTask: Get lon from dew_point where reading exceeds the total depth from air_quality for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"air_quality\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002575", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: value, level, type, reading\n Sensor: lightning | fields: type, level, unit, value\nTask: Get depth from pressure where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002576", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: reading, unit, qc, depth\n Sensor: wind_speed | fields: depth, qc, type, reading\nTask: Fetch value from pressure where depth exists in wind_speed sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002577", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: depth, type, value, reading\n Sensor: rainfall | fields: qc, depth, ts, unit\nTask: Fetch depth from humidity where depth exists in rainfall sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002578", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: lon, lat, reading, level\n Sensor: uv_index | fields: type, reading, qc, lat\nTask: Fetch depth from wind_speed where type exists in uv_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002579", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: ts, depth, type, qc\n Sensor: lightning | fields: depth, lon, unit, lat\nTask: Get level from humidity where a corresponding entry exists in lightning with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002580", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: value, qc, lon, depth\n Sensor: visibility | fields: lon, qc, value, reading\nTask: Fetch lat from pressure where reading is greater than the minimum of depth in visibility for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"visibility\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002581", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: reading, unit, lat, ts\n Sensor: soil_moisture | fields: value, ts, lon, lat\nTask: Fetch reading from turbidity that have at least one corresponding soil_moisture measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002582", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: lat, unit, lon, type\n Sensor: humidity | fields: value, qc, unit, type\nTask: Fetch lon from uv_index where ts exists in humidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002583", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: ts, qc, value, unit\n Sensor: evaporation | fields: type, depth, lat, level\nTask: Retrieve depth from uv_index that have at least one matching reading in evaporation sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002584", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: depth, reading, ts, type\n Sensor: sunlight | fields: unit, value, ts, level\nTask: Get value from snow_depth where type appears in sunlight readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002585", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: qc, lat, depth, value\n Sensor: cloud_cover | fields: ts, depth, unit, value\nTask: Get level from soil_moisture where qc appears in cloud_cover readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002586", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: type, lat, reading, level\n Sensor: turbidity | fields: type, depth, lat, reading\nTask: Fetch reading from wind_speed where value is greater than the minimum of depth in turbidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"turbidity\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002587", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: type, qc, lon, depth\n Sensor: frost | fields: ts, level, qc, value\nTask: Retrieve lat from drought_index whose qc is found in frost records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002588", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: unit, qc, ts, value\n Sensor: soil_moisture | fields: reading, depth, level, unit\nTask: Retrieve lon from temperature with value above the MAX(value) of soil_moisture readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"soil_moisture\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002589", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: qc, unit, level, value\n Sensor: turbidity | fields: unit, value, qc, ts\nTask: Get reading from snow_depth where a corresponding entry exists in turbidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002590", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: value, level, unit, ts\n Sensor: sunlight | fields: reading, lat, value, lon\nTask: Get reading from pressure where a corresponding entry exists in sunlight with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002591", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: value, unit, level, qc\n Sensor: lightning | fields: reading, lat, level, lon\nTask: Fetch lat from evaporation that have at least one corresponding lightning measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lat", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002592", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lon, level, ts, lat\n Sensor: humidity | fields: value, level, reading, lat\nTask: Get lat from evaporation where ts appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002593", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: value, ts, depth, type\n Sensor: dew_point | fields: ts, reading, value, level\nTask: Fetch level from pressure where depth is greater than the maximum of depth in dew_point for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"dew_point\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002594", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: qc, depth, ts, lat\n Sensor: cloud_cover | fields: qc, lon, value, level\nTask: Get depth from rainfall where depth appears in cloud_cover readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002595", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: reading, level, type, unit\n Sensor: rainfall | fields: reading, unit, type, depth\nTask: Get level from wind_speed where reading exceeds the total reading from rainfall for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"rainfall\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002596", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: value, depth, level, unit\n Sensor: air_quality | fields: value, depth, ts, type\nTask: Fetch depth from frost where value is greater than the count of of value in air_quality for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002597", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: ts, depth, unit, type\n Sensor: visibility | fields: ts, reading, qc, unit\nTask: Fetch lon from uv_index where type exists in visibility sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002598", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: unit, ts, level, depth\n Sensor: turbidity | fields: reading, type, lat, depth\nTask: Fetch value from dew_point where type exists in turbidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002599", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: depth, lon, lat, ts\n Sensor: sunlight | fields: qc, level, lat, ts\nTask: Get lat from frost where value exceeds the minimum value from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002600", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: unit, level, ts, reading\n Sensor: frost | fields: lon, depth, level, lat\nTask: Retrieve lon from humidity whose unit is found in frost records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002601", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lon, lat, ts, depth\n Sensor: sunlight | fields: depth, lat, value, unit\nTask: Get lon from dew_point where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002602", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: ts, unit, qc, depth\n Sensor: wind_speed | fields: value, lat, type, reading\nTask: Fetch lon from air_quality where depth exists in wind_speed sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002603", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: level, reading, lat, ts\n Sensor: lightning | fields: ts, value, lon, qc\nTask: Fetch level from snow_depth where value is greater than the count of of reading in lightning for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"lightning\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002604", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: qc, value, reading, type\n Sensor: turbidity | fields: level, value, qc, reading\nTask: Retrieve level from drought_index whose ts is found in turbidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002605", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: reading, value, lat, type\n Sensor: evaporation | fields: lon, qc, level, depth\nTask: Fetch lat from rainfall where depth exists in evaporation sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002606", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: qc, unit, depth, reading\n Sensor: humidity | fields: value, reading, depth, ts\nTask: Fetch reading from dew_point where depth exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002607", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lat, reading, depth, level\n Sensor: snow_depth | fields: lat, ts, qc, type\nTask: Fetch level from dew_point that have at least one corresponding snow_depth measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "level", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002608", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: unit, reading, value, qc\n Sensor: wind_speed | fields: value, lat, type, ts\nTask: Fetch lon from rainfall where reading is greater than the average of value in wind_speed for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"wind_speed\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002609", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lon, lat, value, level\n Sensor: soil_moisture | fields: lat, unit, type, lon\nTask: Get depth from dew_point where reading exceeds the average depth from soil_moisture for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002610", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: reading, type, qc, level\n Sensor: sunlight | fields: unit, value, type, qc\nTask: Retrieve level from frost with reading above the MIN(value) of sunlight readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"sunlight\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002611", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: ts, unit, qc, value\n Sensor: uv_index | fields: unit, value, type, level\nTask: Get lat from wind_speed where a corresponding entry exists in uv_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002612", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lat, reading, value, unit\n Sensor: air_quality | fields: type, ts, depth, lat\nTask: Fetch lat from uv_index that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002613", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: type, lon, qc, value\n Sensor: snow_depth | fields: ts, lat, lon, qc\nTask: Fetch level from lightning that have at least one corresponding snow_depth measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002614", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: depth, unit, lat, lon\n Sensor: evaporation | fields: lon, value, unit, depth\nTask: Fetch lat from snow_depth where ts exists in evaporation sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002615", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: type, value, ts, reading\n Sensor: rainfall | fields: value, lat, reading, ts\nTask: Fetch depth from air_quality where reading is greater than the total of value in rainfall for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"rainfall\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002616", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: lat, reading, ts, qc\n Sensor: cloud_cover | fields: depth, ts, lat, qc\nTask: Get level from rainfall where reading exceeds the maximum reading from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002617", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: unit, qc, ts, type\n Sensor: frost | fields: level, unit, ts, depth\nTask: Fetch lon from visibility where ts exists in frost sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002618", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lon, type, level, ts\n Sensor: snow_depth | fields: reading, depth, ts, value\nTask: Fetch lat from rainfall that have at least one corresponding snow_depth measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002619", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: type, level, reading, ts\n Sensor: air_quality | fields: lon, unit, value, ts\nTask: Fetch depth from evaporation where value is greater than the minimum of reading in air_quality for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002620", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: type, unit, ts, qc\n Sensor: air_quality | fields: depth, reading, value, unit\nTask: Retrieve value from wind_speed whose type is found in air_quality records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002621", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: qc, lat, depth, unit\n Sensor: pressure | fields: unit, qc, depth, lon\nTask: Fetch level from snow_depth where depth is greater than the total of reading in pressure for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"pressure\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002622", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lat, type, ts, unit\n Sensor: pressure | fields: level, qc, type, reading\nTask: Retrieve value from uv_index that have at least one matching reading in pressure sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002623", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: qc, lon, unit, type\n Sensor: humidity | fields: reading, qc, depth, lat\nTask: Fetch lon from soil_moisture that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002624", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: qc, ts, level, value\n Sensor: soil_moisture | fields: qc, reading, level, depth\nTask: Get lat from evaporation where depth exceeds the count of value from soil_moisture for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"soil_moisture\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002625", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: level, unit, ts, lon\n Sensor: lightning | fields: lat, type, unit, qc\nTask: Fetch depth from soil_moisture where qc exists in lightning sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002626", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: level, lat, qc, value\n Sensor: temperature | fields: unit, level, depth, type\nTask: Get lat from pressure where a corresponding entry exists in temperature with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002627", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: ts, type, lon, level\n Sensor: lightning | fields: value, level, qc, ts\nTask: Fetch level from evaporation that have at least one corresponding lightning measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "level", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002628", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: depth, reading, qc, type\n Sensor: sunlight | fields: qc, unit, depth, ts\nTask: Retrieve reading from soil_moisture that have at least one matching reading in sunlight sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002629", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: type, value, qc, unit\n Sensor: soil_moisture | fields: depth, unit, lon, ts\nTask: Retrieve reading from turbidity with depth above the MIN(reading) of soil_moisture readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002630", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: qc, reading, lon, lat\n Sensor: humidity | fields: depth, ts, reading, lon\nTask: Retrieve lon from uv_index whose ts is found in humidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002631", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: type, depth, lat, level\n Sensor: air_quality | fields: ts, type, lon, value\nTask: Retrieve depth from wind_speed whose ts is found in air_quality records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002632", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: lon, depth, unit, lat\n Sensor: wind_speed | fields: qc, type, level, unit\nTask: Get depth from pressure where value exceeds the average depth from wind_speed for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"wind_speed\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002633", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: type, unit, reading, qc\n Sensor: evaporation | fields: lon, value, lat, level\nTask: Fetch level from temperature where type exists in evaporation sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002634", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: reading, lon, type, depth\n Sensor: visibility | fields: value, lat, type, reading\nTask: Fetch level from humidity where reading is greater than the average of value in visibility for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"visibility\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002635", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: level, value, depth, reading\n Sensor: wind_speed | fields: type, reading, depth, value\nTask: Retrieve reading from humidity that have at least one matching reading in wind_speed sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "reading", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002636", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: reading, ts, type, qc\n Sensor: temperature | fields: reading, type, ts, depth\nTask: Get reading from visibility where unit appears in temperature readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002637", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: value, reading, ts, unit\n Sensor: uv_index | fields: reading, value, lat, level\nTask: Get reading from temperature where depth appears in uv_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002638", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: unit, lat, value, type\n Sensor: frost | fields: depth, lat, unit, type\nTask: Fetch reading from rainfall where ts exists in frost sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002639", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: depth, lon, reading, value\n Sensor: sunlight | fields: qc, lat, type, level\nTask: Fetch reading from humidity where value is greater than the maximum of reading in sunlight for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"sunlight\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002640", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: level, depth, lon, value\n Sensor: wind_speed | fields: lon, ts, level, unit\nTask: Get level from frost where reading exceeds the total value from wind_speed for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002641", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: reading, level, lat, qc\n Sensor: visibility | fields: qc, lat, unit, value\nTask: Fetch lat from sunlight that have at least one corresponding visibility measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002642", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: type, lon, qc, unit\n Sensor: temperature | fields: type, ts, value, unit\nTask: Fetch value from wind_speed where reading is greater than the average of depth in temperature for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"temperature\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002643", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: reading, ts, level, qc\n Sensor: cloud_cover | fields: unit, level, qc, depth\nTask: Fetch reading from pressure that have at least one corresponding cloud_cover measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002644", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: reading, qc, ts, type\n Sensor: rainfall | fields: unit, value, lon, reading\nTask: Retrieve level from frost whose depth is found in rainfall records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002645", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: depth, value, type, ts\n Sensor: temperature | fields: reading, value, qc, unit\nTask: Fetch value from wind_speed where depth is greater than the maximum of depth in temperature for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"temperature\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002646", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lon, ts, qc, value\n Sensor: wind_speed | fields: reading, unit, type, qc\nTask: Retrieve lon from air_quality whose unit is found in wind_speed records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002647", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: lon, ts, type, reading\n Sensor: pressure | fields: lon, lat, level, reading\nTask: Get reading from frost where depth appears in pressure readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002648", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: unit, ts, depth, lon\n Sensor: dew_point | fields: depth, type, value, lat\nTask: Retrieve depth from air_quality that have at least one matching reading in dew_point sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002649", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: type, ts, unit, level\n Sensor: humidity | fields: unit, qc, type, lat\nTask: Fetch reading from evaporation where type exists in humidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002650", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: ts, qc, unit, lat\n Sensor: drought_index | fields: qc, depth, unit, lon\nTask: Fetch lon from uv_index where reading is greater than the maximum of reading in drought_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"drought_index\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002651", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lon, type, depth, lat\n Sensor: pressure | fields: qc, lat, level, value\nTask: Fetch lat from drought_index where type exists in pressure sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lat", "filter_col": "type", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002652", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: qc, reading, depth, lon\n Sensor: visibility | fields: lat, ts, level, qc\nTask: Get value from cloud_cover where reading exceeds the total reading from visibility for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"visibility\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002653", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: depth, lat, lon, level\n Sensor: snow_depth | fields: unit, value, type, level\nTask: Retrieve lon from sunlight with reading above the SUM(depth) of snow_depth readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"snow_depth\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002654", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: ts, value, reading, unit\n Sensor: pressure | fields: type, lat, ts, lon\nTask: Fetch lon from soil_moisture that have at least one corresponding pressure measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002655", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: qc, value, lat, depth\n Sensor: visibility | fields: type, value, qc, unit\nTask: Fetch level from humidity that have at least one corresponding visibility measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002656", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: unit, value, lon, level\n Sensor: pressure | fields: ts, depth, reading, lat\nTask: Get reading from lightning where value exceeds the total depth from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002657", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: ts, value, unit, level\n Sensor: drought_index | fields: ts, type, depth, reading\nTask: Retrieve depth from lightning with value above the AVG(value) of drought_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"drought_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002658", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: depth, value, level, lat\n Sensor: frost | fields: lat, unit, qc, lon\nTask: Retrieve level from humidity that have at least one matching reading in frost sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "level", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002659", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: lon, value, qc, unit\n Sensor: visibility | fields: depth, type, lon, unit\nTask: Retrieve value from cloud_cover whose qc is found in visibility records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002660", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: level, value, lat, ts\n Sensor: humidity | fields: lon, depth, ts, type\nTask: Fetch reading from rainfall where type exists in humidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002661", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: ts, reading, lon, depth\n Sensor: soil_moisture | fields: level, value, reading, lat\nTask: Retrieve lat from drought_index whose unit is found in soil_moisture records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002662", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: ts, depth, type, value\n Sensor: drought_index | fields: level, qc, type, lon\nTask: Get reading from temperature where depth exceeds the average value from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"drought_index\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002663", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: level, lon, type, value\n Sensor: wind_speed | fields: lon, reading, ts, level\nTask: Retrieve reading from humidity whose ts is found in wind_speed records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002664", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: value, level, reading, unit\n Sensor: sunlight | fields: type, unit, lat, reading\nTask: Fetch lat from cloud_cover where value is greater than the minimum of reading in sunlight for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"sunlight\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002665", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lat, reading, ts, depth\n Sensor: snow_depth | fields: depth, type, reading, lat\nTask: Get lon from soil_moisture where a corresponding entry exists in snow_depth with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002666", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: ts, reading, depth, type\n Sensor: lightning | fields: lon, level, qc, depth\nTask: Retrieve lon from dew_point whose qc is found in lightning records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002667", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: depth, lon, level, ts\n Sensor: lightning | fields: qc, lon, depth, unit\nTask: Fetch reading from rainfall where reading is greater than the total of reading in lightning for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"lightning\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002668", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: level, value, lat, depth\n Sensor: temperature | fields: lat, reading, lon, ts\nTask: Get value from lightning where value exceeds the minimum reading from temperature for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"temperature\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002669", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: lon, unit, type, ts\n Sensor: turbidity | fields: unit, lat, level, type\nTask: Retrieve lat from rainfall with value above the MAX(value) of turbidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"turbidity\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002670", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: ts, type, unit, lat\n Sensor: cloud_cover | fields: unit, reading, value, lon\nTask: Fetch lon from snow_depth where reading is greater than the maximum of value in cloud_cover for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"cloud_cover\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002671", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: reading, ts, value, level\n Sensor: lightning | fields: lat, reading, lon, ts\nTask: Fetch depth from soil_moisture where value is greater than the count of of depth in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"lightning\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002672", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: qc, unit, type, ts\n Sensor: evaporation | fields: qc, ts, lat, value\nTask: Retrieve lat from humidity with value above the AVG(reading) of evaporation readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002673", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: qc, type, unit, ts\n Sensor: wind_speed | fields: depth, ts, lat, unit\nTask: Get level from snow_depth where depth appears in wind_speed readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002674", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: type, unit, ts, value\n Sensor: snow_depth | fields: lat, unit, depth, level\nTask: Get level from pressure where qc appears in snow_depth readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002675", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: qc, unit, type, depth\n Sensor: cloud_cover | fields: type, reading, value, lon\nTask: Fetch lat from rainfall where depth is greater than the maximum of value in cloud_cover for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"cloud_cover\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002676", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: qc, ts, depth, lon\n Sensor: dew_point | fields: depth, type, lat, value\nTask: Retrieve value from temperature that have at least one matching reading in dew_point sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002677", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: unit, level, value, qc\n Sensor: visibility | fields: qc, lat, reading, level\nTask: Fetch value from air_quality that have at least one corresponding visibility measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002678", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: type, qc, value, ts\n Sensor: turbidity | fields: reading, qc, ts, level\nTask: Fetch lon from rainfall where type exists in turbidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002679", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: qc, type, unit, level\n Sensor: air_quality | fields: depth, ts, lat, qc\nTask: Retrieve value from wind_speed that have at least one matching reading in air_quality sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "value", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002680", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: value, type, level, unit\n Sensor: visibility | fields: type, ts, reading, depth\nTask: Retrieve level from rainfall with depth above the AVG(depth) of visibility readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"visibility\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002681", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: ts, depth, value, lat\n Sensor: visibility | fields: ts, qc, reading, type\nTask: Fetch depth from dew_point where type exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002682", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: ts, lon, value, unit\n Sensor: air_quality | fields: level, depth, ts, unit\nTask: Retrieve value from soil_moisture with depth above the MAX(reading) of air_quality readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"air_quality\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002683", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: type, lon, level, lat\n Sensor: snow_depth | fields: qc, value, lon, depth\nTask: Retrieve depth from evaporation that have at least one matching reading in snow_depth sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002684", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: reading, ts, type, lon\n Sensor: snow_depth | fields: lon, value, type, level\nTask: Fetch value from rainfall that have at least one corresponding snow_depth measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002685", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: unit, depth, lon, qc\n Sensor: wind_speed | fields: depth, value, qc, type\nTask: Fetch depth from lightning that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002686", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: ts, depth, lat, lon\n Sensor: cloud_cover | fields: lon, value, lat, type\nTask: Get depth from wind_speed where depth exceeds the total depth from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002687", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: type, value, reading, qc\n Sensor: pressure | fields: lat, lon, type, depth\nTask: Retrieve level from snow_depth that have at least one matching reading in pressure sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002688", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: reading, type, level, ts\n Sensor: turbidity | fields: lat, reading, qc, unit\nTask: Retrieve lon from air_quality whose ts is found in turbidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002689", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: type, ts, value, unit\n Sensor: temperature | fields: depth, lon, level, ts\nTask: Get lat from uv_index where depth appears in temperature readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002690", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: reading, lat, lon, ts\n Sensor: visibility | fields: level, qc, lat, reading\nTask: Retrieve reading from evaporation that have at least one matching reading in visibility sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002691", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: level, unit, lon, qc\n Sensor: lightning | fields: level, type, qc, ts\nTask: Get lat from temperature where depth exceeds the minimum value from lightning for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"lightning\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002692", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: reading, depth, type, unit\n Sensor: dew_point | fields: depth, unit, qc, ts\nTask: Get reading from drought_index where depth appears in dew_point readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002693", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: type, level, value, qc\n Sensor: turbidity | fields: reading, depth, value, level\nTask: Retrieve lat from frost with depth above the MIN(value) of turbidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"turbidity\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002694", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: ts, type, lon, level\n Sensor: drought_index | fields: ts, lon, qc, type\nTask: Retrieve reading from wind_speed whose ts is found in drought_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002695", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: value, unit, lat, qc\n Sensor: humidity | fields: type, lat, qc, unit\nTask: Fetch lat from pressure where qc exists in humidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002696", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: depth, level, type, qc\n Sensor: cloud_cover | fields: depth, reading, type, lon\nTask: Fetch lon from snow_depth where reading is greater than the average of reading in cloud_cover for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002697", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: level, value, reading, lat\n Sensor: lightning | fields: qc, reading, unit, type\nTask: Retrieve lat from rainfall whose ts is found in lightning records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002698", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: type, unit, reading, ts\n Sensor: uv_index | fields: lat, lon, type, reading\nTask: Retrieve value from evaporation with depth above the COUNT(reading) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"uv_index\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002699", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: reading, lat, type, lon\n Sensor: temperature | fields: depth, qc, type, level\nTask: Retrieve lat from frost whose type is found in temperature records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002700", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: unit, value, type, qc\n Sensor: drought_index | fields: ts, lat, value, depth\nTask: Fetch lon from snow_depth where reading is greater than the average of value in drought_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"drought_index\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002701", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: unit, lon, type, lat\n Sensor: drought_index | fields: type, level, ts, lon\nTask: Fetch reading from snow_depth where value is greater than the minimum of value in drought_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"drought_index\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002702", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lat, depth, unit, reading\n Sensor: air_quality | fields: value, level, ts, depth\nTask: Get depth from wind_speed where depth exceeds the total depth from air_quality for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002703", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lat, type, unit, ts\n Sensor: snow_depth | fields: depth, qc, type, level\nTask: Get depth from lightning where a corresponding entry exists in snow_depth with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002704", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: lat, level, lon, qc\n Sensor: rainfall | fields: lat, qc, level, value\nTask: Get reading from turbidity where ts appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002705", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: lat, value, reading, depth\n Sensor: uv_index | fields: unit, lon, reading, type\nTask: Fetch lon from pressure where type exists in uv_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002706", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: lon, reading, depth, lat\n Sensor: visibility | fields: qc, type, lon, ts\nTask: Fetch depth from cloud_cover where ts exists in visibility sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002707", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: ts, depth, level, reading\n Sensor: visibility | fields: lat, ts, qc, unit\nTask: Get level from frost where value exceeds the count of value from visibility for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"visibility\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002708", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: lat, level, lon, ts\n Sensor: pressure | fields: reading, lon, value, level\nTask: Get lat from temperature where depth exceeds the maximum depth from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"pressure\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002709", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: reading, unit, depth, ts\n Sensor: rainfall | fields: value, level, type, ts\nTask: Retrieve lon from wind_speed with value above the SUM(depth) of rainfall readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"rainfall\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002710", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: level, depth, lon, lat\n Sensor: soil_moisture | fields: qc, reading, ts, value\nTask: Get reading from rainfall where depth exceeds the minimum value from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002711", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: lon, ts, lat, value\n Sensor: dew_point | fields: unit, type, qc, depth\nTask: Retrieve lat from snow_depth that have at least one matching reading in dew_point sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002712", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lon, unit, qc, depth\n Sensor: pressure | fields: lat, ts, depth, value\nTask: Retrieve lat from soil_moisture that have at least one matching reading in pressure sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002713", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lat, qc, lon, reading\n Sensor: sunlight | fields: level, lon, depth, reading\nTask: Get level from turbidity where a corresponding entry exists in sunlight with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002714", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: type, ts, reading, value\n Sensor: turbidity | fields: value, qc, depth, type\nTask: Fetch lon from sunlight that have at least one corresponding turbidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002715", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: depth, level, lon, reading\n Sensor: wind_speed | fields: value, unit, depth, type\nTask: Get value from visibility where a corresponding entry exists in wind_speed with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "value", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002716", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: type, level, unit, reading\n Sensor: snow_depth | fields: qc, unit, type, lat\nTask: Fetch reading from rainfall where unit exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002717", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: level, value, reading, type\n Sensor: pressure | fields: qc, unit, lon, level\nTask: Retrieve value from rainfall that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002718", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: lat, value, ts, qc\n Sensor: pressure | fields: qc, reading, level, lat\nTask: Retrieve depth from air_quality whose type is found in pressure records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002719", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: unit, depth, qc, lon\n Sensor: rainfall | fields: reading, ts, unit, type\nTask: Retrieve lon from drought_index whose ts is found in rainfall records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002720", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lon, unit, ts, depth\n Sensor: dew_point | fields: ts, depth, value, lon\nTask: Get level from turbidity where a corresponding entry exists in dew_point with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002721", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: depth, reading, unit, value\n Sensor: sunlight | fields: lat, reading, lon, type\nTask: Get depth from snow_depth where ts appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002722", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lat, unit, depth, lon\n Sensor: temperature | fields: lon, qc, type, value\nTask: Fetch reading from pressure where reading is greater than the minimum of depth in temperature for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"temperature\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002723", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: ts, unit, lon, level\n Sensor: cloud_cover | fields: lat, qc, depth, lon\nTask: Get level from visibility where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "level", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002724", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: level, reading, type, unit\n Sensor: sunlight | fields: unit, depth, level, reading\nTask: Retrieve depth from lightning whose type is found in sunlight records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002725", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: lon, depth, type, reading\n Sensor: lightning | fields: ts, value, depth, lat\nTask: Retrieve level from pressure with value above the MIN(depth) of lightning readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"lightning\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002726", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: level, qc, lat, value\n Sensor: soil_moisture | fields: lon, value, depth, type\nTask: Get reading from rainfall where depth appears in soil_moisture readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002727", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lon, unit, type, depth\n Sensor: frost | fields: unit, qc, lon, reading\nTask: Fetch depth from turbidity that have at least one corresponding frost measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002728", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: lat, qc, type, value\n Sensor: dew_point | fields: lon, reading, value, depth\nTask: Get value from frost where a corresponding entry exists in dew_point with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002729", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: qc, value, level, lon\n Sensor: lightning | fields: ts, lon, unit, reading\nTask: Fetch level from wind_speed where type exists in lightning sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002730", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: level, depth, reading, value\n Sensor: uv_index | fields: qc, lat, level, unit\nTask: Retrieve lon from lightning with value above the COUNT(reading) of uv_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"uv_index\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002731", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lon, unit, level, qc\n Sensor: evaporation | fields: lon, reading, unit, qc\nTask: Retrieve reading from rainfall whose ts is found in evaporation records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002732", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: lat, type, ts, level\n Sensor: pressure | fields: qc, lat, unit, reading\nTask: Retrieve lat from turbidity that have at least one matching reading in pressure sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002733", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: reading, depth, ts, qc\n Sensor: soil_moisture | fields: type, value, lon, level\nTask: Get value from rainfall where a corresponding entry exists in soil_moisture with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002734", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: ts, level, lat, unit\n Sensor: pressure | fields: lon, reading, value, level\nTask: Fetch depth from lightning where reading is greater than the average of value in pressure for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002735", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lon, unit, value, type\n Sensor: dew_point | fields: lat, level, unit, value\nTask: Fetch lat from wind_speed that have at least one corresponding dew_point measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002736", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: reading, value, lat, type\n Sensor: rainfall | fields: reading, qc, lat, type\nTask: Fetch lat from cloud_cover where depth exists in rainfall sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002737", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: value, lat, lon, reading\n Sensor: soil_moisture | fields: level, value, unit, lat\nTask: Fetch value from pressure where depth exists in soil_moisture sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002738", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lat, lon, ts, value\n Sensor: turbidity | fields: depth, qc, reading, unit\nTask: Get lon from sunlight where a corresponding entry exists in turbidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002739", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: level, ts, lon, qc\n Sensor: air_quality | fields: reading, unit, depth, value\nTask: Get lon from turbidity where value exceeds the total reading from air_quality for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002740", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, depth, ts, qc\n Sensor: turbidity | fields: lat, depth, qc, level\nTask: Fetch lon from uv_index that have at least one corresponding turbidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002741", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: level, unit, depth, value\n Sensor: humidity | fields: reading, qc, ts, level\nTask: Get value from dew_point where qc appears in humidity readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002742", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: lat, reading, unit, qc\n Sensor: snow_depth | fields: value, qc, unit, lat\nTask: Get lat from frost where qc appears in snow_depth readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002743", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: value, lat, depth, reading\n Sensor: turbidity | fields: qc, unit, type, ts\nTask: Retrieve depth from drought_index with depth above the MAX(reading) of turbidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"turbidity\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002744", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: value, reading, lon, depth\n Sensor: frost | fields: level, depth, lat, unit\nTask: Fetch reading from humidity where depth is greater than the average of depth in frost for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"frost\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002745", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: value, lon, depth, level\n Sensor: snow_depth | fields: lon, unit, level, lat\nTask: Fetch lon from dew_point where unit exists in snow_depth sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002746", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: level, value, qc, type\n Sensor: cloud_cover | fields: reading, value, level, unit\nTask: Get level from lightning where type appears in cloud_cover readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002747", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: ts, reading, unit, type\n Sensor: visibility | fields: reading, lon, ts, qc\nTask: Retrieve lat from wind_speed whose type is found in visibility records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002748", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: qc, value, ts, lat\n Sensor: frost | fields: type, qc, lon, depth\nTask: Fetch depth from drought_index where type exists in frost sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002749", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lat, level, depth, reading\n Sensor: temperature | fields: value, depth, type, lat\nTask: Get lon from visibility where qc appears in temperature readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002750", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: level, lat, unit, type\n Sensor: sunlight | fields: lon, type, lat, level\nTask: Retrieve level from lightning that have at least one matching reading in sunlight sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002751", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: depth, value, reading, lat\n Sensor: cloud_cover | fields: unit, level, value, depth\nTask: Get lon from sunlight where depth appears in cloud_cover readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002752", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: level, ts, lon, qc\n Sensor: rainfall | fields: value, unit, lon, level\nTask: Get value from drought_index where value exceeds the minimum value from rainfall for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"rainfall\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002753", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lat, lon, type, reading\n Sensor: frost | fields: lat, level, reading, unit\nTask: Fetch value from soil_moisture where type exists in frost sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002754", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: depth, level, qc, ts\n Sensor: uv_index | fields: depth, value, type, reading\nTask: Retrieve reading from cloud_cover that have at least one matching reading in uv_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002755", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: qc, ts, lat, value\n Sensor: humidity | fields: unit, depth, lat, lon\nTask: Retrieve value from snow_depth that have at least one matching reading in humidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002756", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: lon, type, lat, qc\n Sensor: turbidity | fields: reading, lon, depth, type\nTask: Fetch level from soil_moisture that have at least one corresponding turbidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002757", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: unit, lon, level, reading\n Sensor: drought_index | fields: lat, unit, type, level\nTask: Retrieve lon from cloud_cover that have at least one matching reading in drought_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002758", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: unit, ts, lon, depth\n Sensor: humidity | fields: ts, unit, depth, qc\nTask: Retrieve lon from pressure with reading above the MIN(reading) of humidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002759", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: depth, lat, level, lon\n Sensor: evaporation | fields: lat, qc, value, unit\nTask: Retrieve lon from drought_index whose ts is found in evaporation records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002760", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: reading, qc, value, level\n Sensor: lightning | fields: reading, level, ts, lat\nTask: Fetch reading from cloud_cover that have at least one corresponding lightning measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002761", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: value, qc, ts, lat\n Sensor: air_quality | fields: qc, value, type, lon\nTask: Fetch depth from humidity where depth is greater than the total of reading in air_quality for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"air_quality\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002762", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: type, qc, depth, ts\n Sensor: rainfall | fields: reading, type, lat, qc\nTask: Fetch level from wind_speed that have at least one corresponding rainfall measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002763", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: level, lon, qc, reading\n Sensor: temperature | fields: value, ts, lat, level\nTask: Retrieve lat from lightning with value above the MIN(reading) of temperature readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"temperature\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002764", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: lat, reading, depth, qc\n Sensor: uv_index | fields: ts, level, reading, lon\nTask: Retrieve level from dew_point with depth above the SUM(value) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"uv_index\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002765", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: level, value, ts, type\n Sensor: humidity | fields: level, value, ts, unit\nTask: Get lon from soil_moisture where reading exceeds the total depth from humidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002766", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: value, lon, depth, qc\n Sensor: dew_point | fields: qc, depth, lat, unit\nTask: Retrieve depth from air_quality whose unit is found in dew_point records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002767", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: ts, depth, type, lat\n Sensor: rainfall | fields: type, ts, value, level\nTask: Retrieve lat from dew_point with value above the SUM(reading) of rainfall readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"rainfall\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002768", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: unit, type, ts, lat\n Sensor: humidity | fields: unit, reading, qc, lon\nTask: Get lon from soil_moisture where ts appears in humidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002769", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: level, lat, reading, value\n Sensor: air_quality | fields: value, level, type, lon\nTask: Fetch lon from visibility where depth exists in air_quality sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002770", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lat, depth, qc, reading\n Sensor: visibility | fields: value, ts, lon, unit\nTask: Retrieve depth from air_quality that have at least one matching reading in visibility sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002771", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: type, lon, lat, ts\n Sensor: wind_speed | fields: unit, depth, type, lat\nTask: Retrieve value from drought_index that have at least one matching reading in wind_speed sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002772", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: qc, reading, lon, level\n Sensor: frost | fields: type, lat, qc, ts\nTask: Retrieve lat from rainfall that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lat", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002773", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: qc, lon, reading, type\n Sensor: evaporation | fields: type, lon, reading, depth\nTask: Retrieve lat from rainfall that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002774", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: reading, level, lon, unit\n Sensor: sunlight | fields: value, qc, unit, depth\nTask: Retrieve reading from pressure whose type is found in sunlight records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002775", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: qc, unit, value, depth\n Sensor: turbidity | fields: unit, lat, type, level\nTask: Get level from frost where a corresponding entry exists in turbidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "level", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002776", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: type, ts, depth, unit\n Sensor: rainfall | fields: ts, value, qc, unit\nTask: Get reading from drought_index where reading exceeds the count of depth from rainfall for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"rainfall\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002777", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: qc, depth, lat, level\n Sensor: visibility | fields: level, unit, qc, type\nTask: Fetch value from lightning that have at least one corresponding visibility measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002778", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: qc, lon, type, depth\n Sensor: air_quality | fields: depth, unit, lon, lat\nTask: Retrieve lat from cloud_cover with reading above the MAX(depth) of air_quality readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002779", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: level, depth, unit, value\n Sensor: evaporation | fields: qc, lon, type, value\nTask: Get level from snow_depth where qc appears in evaporation readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002780", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: lon, level, type, value\n Sensor: soil_moisture | fields: lat, reading, level, unit\nTask: Retrieve depth from air_quality whose qc is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002781", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: reading, ts, value, level\n Sensor: dew_point | fields: ts, unit, qc, level\nTask: Fetch value from uv_index where type exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002782", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: reading, ts, unit, depth\n Sensor: pressure | fields: type, value, unit, level\nTask: Retrieve lon from wind_speed with value above the COUNT(value) of pressure readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"pressure\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002783", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: reading, depth, ts, lon\n Sensor: visibility | fields: lon, level, lat, ts\nTask: Get level from uv_index where value exceeds the maximum reading from visibility for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"visibility\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002784", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: level, lon, lat, type\n Sensor: humidity | fields: ts, reading, unit, level\nTask: Get lat from frost where unit appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002785", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: level, depth, reading, type\n Sensor: wind_speed | fields: lat, level, depth, ts\nTask: Get reading from snow_depth where ts appears in wind_speed readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002786", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: type, lat, depth, unit\n Sensor: temperature | fields: value, reading, lon, qc\nTask: Fetch depth from lightning that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002787", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: level, reading, unit, lon\n Sensor: visibility | fields: depth, unit, ts, level\nTask: Get depth from temperature where reading exceeds the minimum reading from visibility for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"visibility\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002788", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: qc, lat, unit, depth\n Sensor: soil_moisture | fields: value, unit, qc, depth\nTask: Fetch lat from rainfall that have at least one corresponding soil_moisture measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002789", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: reading, unit, lat, type\n Sensor: cloud_cover | fields: ts, lat, qc, unit\nTask: Retrieve reading from uv_index that have at least one matching reading in cloud_cover sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002790", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: value, type, unit, reading\n Sensor: temperature | fields: type, depth, lon, level\nTask: Fetch lat from frost where ts exists in temperature sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002791", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: level, reading, depth, lon\n Sensor: temperature | fields: lat, depth, type, qc\nTask: Fetch value from visibility where type exists in temperature sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002792", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: value, unit, type, lat\n Sensor: dew_point | fields: reading, type, unit, lon\nTask: Retrieve level from temperature that have at least one matching reading in dew_point sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002793", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: ts, value, reading, depth\n Sensor: turbidity | fields: unit, type, value, lon\nTask: Fetch depth from uv_index that have at least one corresponding turbidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002794", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: level, lon, ts, reading\n Sensor: rainfall | fields: lon, value, type, qc\nTask: Retrieve lat from temperature whose qc is found in rainfall records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002795", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: type, level, lat, ts\n Sensor: air_quality | fields: reading, qc, level, type\nTask: Fetch lat from lightning that have at least one corresponding air_quality measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002796", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: level, ts, lat, qc\n Sensor: dew_point | fields: qc, type, unit, depth\nTask: Get value from evaporation where qc appears in dew_point readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002797", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: reading, ts, lat, unit\n Sensor: uv_index | fields: type, lat, ts, depth\nTask: Fetch value from frost where type exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002798", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lon, type, ts, value\n Sensor: cloud_cover | fields: qc, type, value, ts\nTask: Fetch depth from lightning where ts exists in cloud_cover sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002799", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: ts, type, level, unit\n Sensor: evaporation | fields: lon, qc, level, reading\nTask: Get lon from lightning where depth exceeds the average depth from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"evaporation\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002800", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: reading, depth, ts, unit\n Sensor: cloud_cover | fields: unit, ts, depth, level\nTask: Retrieve lon from temperature with value above the MAX(depth) of cloud_cover readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002801", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: ts, qc, value, type\n Sensor: air_quality | fields: depth, ts, level, lon\nTask: Get reading from lightning where reading exceeds the minimum reading from air_quality for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002802", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: level, depth, value, lon\n Sensor: uv_index | fields: reading, type, depth, lon\nTask: Fetch lat from turbidity where depth exists in uv_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002803", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: lon, level, type, depth\n Sensor: drought_index | fields: ts, qc, level, lon\nTask: Get lat from cloud_cover where depth exceeds the minimum value from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002804", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: level, unit, value, lat\n Sensor: evaporation | fields: level, depth, lon, reading\nTask: Retrieve level from dew_point that have at least one matching reading in evaporation sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002805", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: depth, type, unit, qc\n Sensor: pressure | fields: lon, ts, reading, unit\nTask: Fetch lon from uv_index where reading is greater than the average of reading in pressure for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"pressure\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002806", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: type, reading, lon, ts\n Sensor: frost | fields: lon, reading, level, qc\nTask: Retrieve depth from lightning that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002807", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lat, lon, reading, qc\n Sensor: visibility | fields: lon, ts, lat, depth\nTask: Fetch depth from wind_speed where value is greater than the maximum of value in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"visibility\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002808", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: reading, lat, type, ts\n Sensor: turbidity | fields: lat, value, reading, qc\nTask: Get lon from lightning where depth exceeds the count of reading from turbidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002809", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: reading, level, lat, lon\n Sensor: lightning | fields: type, lon, ts, depth\nTask: Get reading from drought_index where reading exceeds the count of value from lightning for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"lightning\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002810", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: unit, ts, value, reading\n Sensor: cloud_cover | fields: level, type, value, depth\nTask: Get level from drought_index where depth exceeds the minimum depth from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002811", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lon, reading, value, level\n Sensor: visibility | fields: value, ts, depth, reading\nTask: Retrieve lat from dew_point whose unit is found in visibility records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002812", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: lon, unit, qc, value\n Sensor: sunlight | fields: lon, ts, lat, unit\nTask: Retrieve level from lightning that have at least one matching reading in sunlight sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "level", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002813", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: ts, unit, reading, type\n Sensor: uv_index | fields: type, depth, level, value\nTask: Fetch depth from cloud_cover where depth exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002814", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: ts, lat, level, depth\n Sensor: sunlight | fields: qc, value, depth, unit\nTask: Get reading from uv_index where a corresponding entry exists in sunlight with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "reading", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002815", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: ts, reading, unit, qc\n Sensor: temperature | fields: reading, level, ts, lat\nTask: Get depth from visibility where value exceeds the maximum reading from temperature for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"temperature\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002816", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: type, depth, unit, qc\n Sensor: uv_index | fields: level, lat, lon, type\nTask: Get lat from temperature where depth exceeds the minimum reading from uv_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002817", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: value, ts, level, lon\n Sensor: drought_index | fields: type, depth, lon, value\nTask: Fetch depth from turbidity that have at least one corresponding drought_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002818", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: value, reading, type, lat\n Sensor: snow_depth | fields: unit, depth, lon, lat\nTask: Fetch value from uv_index where value is greater than the count of of depth in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002819", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: depth, type, unit, lon\n Sensor: visibility | fields: lat, qc, depth, unit\nTask: Get lat from dew_point where depth exceeds the count of depth from visibility for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"visibility\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002820", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: value, reading, level, type\n Sensor: wind_speed | fields: unit, reading, value, qc\nTask: Retrieve reading from cloud_cover with value above the COUNT(depth) of wind_speed readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"wind_speed\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002821", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: depth, unit, qc, lon\n Sensor: drought_index | fields: value, reading, depth, lon\nTask: Get reading from humidity where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002822", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: reading, ts, unit, lat\n Sensor: snow_depth | fields: reading, value, qc, ts\nTask: Retrieve depth from drought_index with depth above the AVG(reading) of snow_depth readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"snow_depth\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002823", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, ts, depth, type\n Sensor: turbidity | fields: depth, reading, ts, value\nTask: Retrieve value from wind_speed that have at least one matching reading in turbidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002824", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: depth, ts, value, reading\n Sensor: air_quality | fields: type, ts, level, reading\nTask: Get lon from evaporation where a corresponding entry exists in air_quality with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002825", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: lat, qc, level, value\n Sensor: rainfall | fields: qc, lat, depth, level\nTask: Fetch level from evaporation where depth is greater than the count of of depth in rainfall for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002826", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: lon, depth, reading, ts\n Sensor: snow_depth | fields: reading, qc, unit, lon\nTask: Fetch depth from frost where reading is greater than the average of value in snow_depth for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"snow_depth\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002827", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: reading, depth, type, value\n Sensor: visibility | fields: unit, lat, reading, depth\nTask: Retrieve lat from sunlight with value above the MIN(depth) of visibility readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"visibility\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002828", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lat, ts, unit, value\n Sensor: turbidity | fields: lat, type, level, unit\nTask: Fetch value from lightning where value is greater than the total of reading in turbidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"turbidity\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002829", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: type, ts, depth, qc\n Sensor: cloud_cover | fields: type, level, lat, value\nTask: Retrieve reading from rainfall with depth above the COUNT(reading) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002830", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: type, unit, value, qc\n Sensor: pressure | fields: ts, qc, level, value\nTask: Get depth from uv_index where unit appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002831", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: type, lon, ts, level\n Sensor: humidity | fields: type, lat, level, depth\nTask: Retrieve level from evaporation whose qc is found in humidity records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002832", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: qc, unit, ts, type\n Sensor: turbidity | fields: qc, type, level, value\nTask: Get reading from pressure where value exceeds the minimum value from turbidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"turbidity\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002833", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: qc, level, depth, value\n Sensor: visibility | fields: level, value, depth, type\nTask: Fetch depth from humidity where value is greater than the minimum of reading in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"visibility\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002834", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: value, unit, ts, lon\n Sensor: pressure | fields: depth, lat, qc, ts\nTask: Get lon from visibility where a corresponding entry exists in pressure with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002835", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: value, lon, depth, type\n Sensor: drought_index | fields: value, depth, type, lon\nTask: Retrieve level from uv_index that have at least one matching reading in drought_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002836", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: level, depth, ts, reading\n Sensor: evaporation | fields: lat, lon, value, reading\nTask: Fetch lat from cloud_cover where depth is greater than the minimum of depth in evaporation for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002837", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: level, lon, lat, depth\n Sensor: wind_speed | fields: unit, reading, value, lon\nTask: Retrieve reading from uv_index whose unit is found in wind_speed records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002838", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lon, ts, reading, unit\n Sensor: rainfall | fields: depth, type, unit, ts\nTask: Fetch value from sunlight where depth is greater than the maximum of value in rainfall for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"rainfall\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002839", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: value, level, lon, qc\n Sensor: evaporation | fields: lon, type, depth, ts\nTask: Retrieve reading from temperature whose qc is found in evaporation records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002840", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: level, reading, depth, lat\n Sensor: frost | fields: qc, lat, level, unit\nTask: Get reading from air_quality where a corresponding entry exists in frost with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002841", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: type, unit, lat, ts\n Sensor: humidity | fields: ts, lon, depth, value\nTask: Fetch level from snow_depth where depth exists in humidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002842", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: value, qc, type, reading\n Sensor: frost | fields: qc, lon, depth, unit\nTask: Get value from pressure where ts appears in frost readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002843", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: unit, level, qc, value\n Sensor: wind_speed | fields: level, lon, unit, lat\nTask: Get level from cloud_cover where qc appears in wind_speed readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002844", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: type, level, lon, reading\n Sensor: cloud_cover | fields: depth, ts, value, lon\nTask: Retrieve lon from uv_index that have at least one matching reading in cloud_cover sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002845", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: lon, level, qc, depth\n Sensor: air_quality | fields: qc, reading, type, level\nTask: Fetch level from turbidity where ts exists in air_quality sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002846", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: unit, level, lon, type\n Sensor: visibility | fields: level, depth, value, unit\nTask: Fetch reading from dew_point where reading is greater than the count of of depth in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"visibility\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002847", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: qc, lon, depth, value\n Sensor: rainfall | fields: level, lat, type, lon\nTask: Fetch value from drought_index where value is greater than the count of of reading in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"rainfall\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002848", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: qc, level, lat, value\n Sensor: snow_depth | fields: unit, value, ts, lat\nTask: Fetch value from air_quality where depth exists in snow_depth sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002849", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: unit, depth, type, qc\n Sensor: dew_point | fields: level, qc, ts, lat\nTask: Retrieve depth from air_quality that have at least one matching reading in dew_point sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002850", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lon, value, type, depth\n Sensor: air_quality | fields: lon, level, ts, type\nTask: Retrieve lat from soil_moisture that have at least one matching reading in air_quality sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002851", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: depth, ts, reading, value\n Sensor: soil_moisture | fields: value, unit, reading, lat\nTask: Retrieve lon from lightning that have at least one matching reading in soil_moisture sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002852", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: reading, unit, qc, ts\n Sensor: frost | fields: reading, lat, ts, type\nTask: Get lat from visibility where a corresponding entry exists in frost with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lat", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002853", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lon, level, unit, lat\n Sensor: temperature | fields: depth, value, ts, qc\nTask: Fetch lon from air_quality that have at least one corresponding temperature measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lon", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002854", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: ts, qc, lat, lon\n Sensor: snow_depth | fields: lon, unit, reading, qc\nTask: Fetch depth from humidity where depth exists in snow_depth sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002855", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: ts, depth, reading, qc\n Sensor: drought_index | fields: lon, value, unit, qc\nTask: Fetch level from snow_depth where depth is greater than the total of reading in drought_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002856", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: ts, lon, qc, level\n Sensor: rainfall | fields: unit, type, lat, level\nTask: Get reading from temperature where a corresponding entry exists in rainfall with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "reading", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002857", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: reading, ts, lon, lat\n Sensor: wind_speed | fields: type, value, unit, depth\nTask: Retrieve level from cloud_cover whose ts is found in wind_speed records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002858", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lon, type, depth, level\n Sensor: wind_speed | fields: level, lon, ts, depth\nTask: Fetch value from turbidity where depth exists in wind_speed sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002859", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: depth, qc, lat, type\n Sensor: wind_speed | fields: unit, lon, ts, qc\nTask: Fetch lat from visibility that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002860", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: level, unit, lon, depth\n Sensor: snow_depth | fields: reading, lon, level, value\nTask: Retrieve value from rainfall with depth above the MAX(depth) of snow_depth readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"snow_depth\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002861", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lon, lat, level, reading\n Sensor: wind_speed | fields: reading, lat, qc, type\nTask: Get lon from air_quality where type appears in wind_speed readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002862", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: lon, value, level, ts\n Sensor: lightning | fields: qc, lon, lat, level\nTask: Retrieve level from visibility with depth above the AVG(reading) of lightning readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002863", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: qc, lon, reading, unit\n Sensor: air_quality | fields: lat, qc, value, lon\nTask: Retrieve lon from cloud_cover that have at least one matching reading in air_quality sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lon", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002864", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: ts, level, depth, reading\n Sensor: air_quality | fields: level, qc, lon, value\nTask: Get level from uv_index where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "level", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002865", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: ts, lat, type, lon\n Sensor: pressure | fields: ts, lon, qc, unit\nTask: Retrieve level from visibility whose qc is found in pressure records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002866", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: type, depth, level, qc\n Sensor: pressure | fields: lat, ts, value, depth\nTask: Fetch depth from uv_index where ts exists in pressure sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002867", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: reading, type, lon, level\n Sensor: evaporation | fields: reading, ts, depth, lon\nTask: Fetch value from lightning where reading is greater than the maximum of reading in evaporation for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002868", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: reading, qc, lon, level\n Sensor: humidity | fields: unit, depth, type, reading\nTask: Get depth from uv_index where reading exceeds the average depth from humidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"humidity\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002869", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: qc, type, level, reading\n Sensor: air_quality | fields: ts, type, depth, reading\nTask: Retrieve lat from snow_depth that have at least one matching reading in air_quality sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002870", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: level, value, unit, depth\n Sensor: visibility | fields: type, depth, value, ts\nTask: Fetch lon from lightning where reading is greater than the count of of depth in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"visibility\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002871", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lon, reading, level, depth\n Sensor: temperature | fields: lat, level, ts, qc\nTask: Get lon from evaporation where unit appears in temperature readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002872", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: lat, level, lon, value\n Sensor: wind_speed | fields: unit, lat, level, type\nTask: Get value from soil_moisture where a corresponding entry exists in wind_speed with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "value", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002873", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: level, ts, reading, unit\n Sensor: frost | fields: lat, reading, level, qc\nTask: Fetch level from rainfall where depth exists in frost sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002874", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: ts, value, reading, qc\n Sensor: frost | fields: type, lon, ts, value\nTask: Fetch value from temperature that have at least one corresponding frost measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002875", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: value, ts, level, reading\n Sensor: humidity | fields: value, level, ts, unit\nTask: Fetch level from dew_point where type exists in humidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002876", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: ts, lon, lat, type\n Sensor: frost | fields: type, lon, lat, value\nTask: Retrieve lon from lightning with value above the COUNT(reading) of frost readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"frost\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002877", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: ts, lon, unit, qc\n Sensor: pressure | fields: level, value, qc, type\nTask: Fetch depth from visibility that have at least one corresponding pressure measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002878", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: depth, type, lat, value\n Sensor: snow_depth | fields: value, level, unit, lat\nTask: Retrieve reading from evaporation with reading above the MIN(value) of snow_depth readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"snow_depth\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002879", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: value, type, depth, qc\n Sensor: temperature | fields: level, type, unit, lon\nTask: Fetch reading from evaporation that have at least one corresponding temperature measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "reading", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002880", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: reading, type, value, lat\n Sensor: cloud_cover | fields: ts, level, depth, lon\nTask: Get depth from soil_moisture where unit appears in cloud_cover readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002881", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: depth, lat, unit, value\n Sensor: rainfall | fields: depth, lat, value, type\nTask: Fetch reading from frost where depth exists in rainfall sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002882", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: qc, ts, depth, reading\n Sensor: sunlight | fields: value, qc, type, depth\nTask: Fetch reading from snow_depth that have at least one corresponding sunlight measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002883", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lon, lat, value, reading\n Sensor: air_quality | fields: lon, value, level, qc\nTask: Get lat from temperature where qc appears in air_quality readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002884", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: level, ts, lon, type\n Sensor: evaporation | fields: ts, qc, depth, lat\nTask: Get level from wind_speed where a corresponding entry exists in evaporation with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002885", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: lon, ts, unit, value\n Sensor: turbidity | fields: lat, depth, type, ts\nTask: Fetch reading from soil_moisture where qc exists in turbidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002886", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: ts, reading, lat, value\n Sensor: uv_index | fields: ts, depth, value, qc\nTask: Retrieve reading from lightning with reading above the SUM(reading) of uv_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"uv_index\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002887", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: qc, level, lon, depth\n Sensor: soil_moisture | fields: ts, lat, reading, qc\nTask: Fetch reading from humidity where qc exists in soil_moisture sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002888", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: lat, lon, value, qc\n Sensor: drought_index | fields: type, unit, lon, qc\nTask: Retrieve value from frost with depth above the COUNT(reading) of drought_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"drought_index\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002889", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: depth, level, unit, reading\n Sensor: sunlight | fields: type, reading, qc, ts\nTask: Get depth from temperature where type appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002890", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: lat, qc, reading, lon\n Sensor: dew_point | fields: lon, qc, reading, level\nTask: Get lat from pressure where a corresponding entry exists in dew_point with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lat", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002891", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: value, unit, reading, depth\n Sensor: uv_index | fields: lon, depth, level, value\nTask: Fetch lon from frost where depth exists in uv_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002892", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lat, ts, level, lon\n Sensor: humidity | fields: lat, qc, depth, reading\nTask: Fetch value from turbidity where ts exists in humidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002893", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: unit, level, ts, lat\n Sensor: visibility | fields: ts, lat, lon, level\nTask: Get level from temperature where type appears in visibility readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002894", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: ts, reading, level, type\n Sensor: turbidity | fields: lon, unit, ts, reading\nTask: Get level from dew_point where a corresponding entry exists in turbidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002895", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: reading, type, depth, lon\n Sensor: visibility | fields: depth, lon, value, lat\nTask: Retrieve depth from lightning that have at least one matching reading in visibility sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002896", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lon, unit, value, level\n Sensor: dew_point | fields: unit, lon, level, depth\nTask: Fetch level from humidity where unit exists in dew_point sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002897", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: depth, type, lat, ts\n Sensor: humidity | fields: ts, value, reading, type\nTask: Fetch lat from drought_index where unit exists in humidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002898", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lat, reading, ts, unit\n Sensor: pressure | fields: ts, depth, type, value\nTask: Fetch level from air_quality where depth exists in pressure sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002899", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: qc, lat, reading, depth\n Sensor: cloud_cover | fields: level, reading, unit, lat\nTask: Fetch depth from drought_index where unit exists in cloud_cover sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002900", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: qc, lat, unit, ts\n Sensor: frost | fields: reading, depth, ts, unit\nTask: Retrieve lon from sunlight that have at least one matching reading in frost sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002901", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: value, level, unit, qc\n Sensor: turbidity | fields: level, value, lat, reading\nTask: Get depth from visibility where qc appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002902", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: depth, type, qc, unit\n Sensor: sunlight | fields: lon, type, ts, qc\nTask: Get reading from cloud_cover where qc appears in sunlight readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002903", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: depth, type, unit, ts\n Sensor: drought_index | fields: value, lat, unit, depth\nTask: Fetch level from cloud_cover that have at least one corresponding drought_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002904", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: type, qc, level, lat\n Sensor: evaporation | fields: qc, value, type, level\nTask: Get value from sunlight where depth appears in evaporation readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002905", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: qc, level, ts, value\n Sensor: frost | fields: lon, type, ts, unit\nTask: Get lat from pressure where type appears in frost readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002906", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: ts, reading, lon, unit\n Sensor: soil_moisture | fields: reading, level, qc, type\nTask: Get value from cloud_cover where a corresponding entry exists in soil_moisture with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002907", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lon, unit, level, ts\n Sensor: sunlight | fields: lat, depth, unit, level\nTask: Retrieve value from evaporation that have at least one matching reading in sunlight sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002908", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: depth, ts, value, type\n Sensor: uv_index | fields: unit, type, qc, depth\nTask: Fetch lat from snow_depth that have at least one corresponding uv_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lat", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002909", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: level, value, unit, lat\n Sensor: wind_speed | fields: ts, lon, depth, level\nTask: Retrieve value from evaporation whose depth is found in wind_speed records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002910", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: reading, lat, type, qc\n Sensor: air_quality | fields: ts, reading, value, qc\nTask: Get level from temperature where type appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002911", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: unit, depth, type, level\n Sensor: cloud_cover | fields: level, reading, type, depth\nTask: Get lon from lightning where a corresponding entry exists in cloud_cover with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002912", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: unit, type, reading, lat\n Sensor: uv_index | fields: qc, lat, depth, unit\nTask: Fetch value from air_quality where depth is greater than the count of of depth in uv_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"uv_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002913", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: type, ts, lon, value\n Sensor: evaporation | fields: lon, unit, qc, level\nTask: Fetch depth from turbidity where ts exists in evaporation sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002914", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: ts, qc, type, lon\n Sensor: soil_moisture | fields: level, qc, lat, value\nTask: Retrieve lat from dew_point whose qc is found in soil_moisture records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002915", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: unit, ts, value, depth\n Sensor: lightning | fields: value, depth, ts, lat\nTask: Retrieve depth from rainfall whose qc is found in lightning records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002916", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: value, ts, depth, lon\n Sensor: humidity | fields: level, unit, lon, ts\nTask: Fetch lat from lightning where type exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002917", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: lat, ts, reading, depth\n Sensor: lightning | fields: unit, reading, type, lon\nTask: Fetch depth from sunlight that have at least one corresponding lightning measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002918", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: qc, value, level, lon\n Sensor: cloud_cover | fields: reading, qc, depth, unit\nTask: Fetch lon from rainfall that have at least one corresponding cloud_cover measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002919", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: qc, depth, lat, ts\n Sensor: frost | fields: unit, lat, lon, level\nTask: Retrieve lon from wind_speed with depth above the MIN(reading) of frost readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"frost\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002920", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: lon, depth, value, unit\n Sensor: cloud_cover | fields: lon, type, value, lat\nTask: Get lon from temperature where a corresponding entry exists in cloud_cover with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lon", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002921", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: reading, depth, qc, value\n Sensor: visibility | fields: type, unit, qc, depth\nTask: Retrieve reading from frost that have at least one matching reading in visibility sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002922", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: unit, lon, level, type\n Sensor: rainfall | fields: lon, reading, ts, depth\nTask: Retrieve depth from lightning with depth above the MAX(depth) of rainfall readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"rainfall\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002923", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: qc, value, ts, reading\n Sensor: sunlight | fields: reading, lat, value, type\nTask: Fetch reading from soil_moisture that have at least one corresponding sunlight measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002924", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: ts, level, qc, type\n Sensor: air_quality | fields: value, level, qc, lat\nTask: Retrieve reading from snow_depth that have at least one matching reading in air_quality sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "reading", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002925", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: depth, reading, lat, level\n Sensor: rainfall | fields: depth, ts, qc, type\nTask: Get value from drought_index where a corresponding entry exists in rainfall with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "value", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002926", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: unit, lat, level, reading\n Sensor: snow_depth | fields: qc, type, value, reading\nTask: Retrieve depth from visibility with reading above the MIN(value) of snow_depth readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"snow_depth\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002927", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: reading, depth, type, lat\n Sensor: rainfall | fields: depth, type, level, ts\nTask: Fetch depth from pressure where ts exists in rainfall sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002928", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lon, type, lat, level\n Sensor: evaporation | fields: qc, level, unit, value\nTask: Retrieve lon from air_quality whose ts is found in evaporation records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002929", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: ts, lat, level, value\n Sensor: frost | fields: depth, ts, level, lon\nTask: Get depth from visibility where type appears in frost readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002930", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: depth, type, value, ts\n Sensor: turbidity | fields: unit, depth, reading, value\nTask: Retrieve lat from cloud_cover that have at least one matching reading in turbidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002931", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: ts, lat, value, qc\n Sensor: soil_moisture | fields: ts, type, lat, qc\nTask: Fetch value from evaporation where depth is greater than the count of of depth in soil_moisture for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002932", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: lat, type, lon, reading\n Sensor: soil_moisture | fields: reading, depth, qc, unit\nTask: Get value from lightning where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "value", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002933", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: value, ts, lon, type\n Sensor: rainfall | fields: unit, type, level, depth\nTask: Fetch value from temperature that have at least one corresponding rainfall measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "value", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002934", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: type, reading, lat, ts\n Sensor: turbidity | fields: qc, depth, type, unit\nTask: Get value from drought_index where unit appears in turbidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002935", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lat, unit, level, type\n Sensor: visibility | fields: unit, level, depth, lat\nTask: Fetch level from air_quality where type exists in visibility sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002936", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: unit, ts, qc, lon\n Sensor: uv_index | fields: qc, lon, level, lat\nTask: Get lon from soil_moisture where qc appears in uv_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002937", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: qc, type, ts, depth\n Sensor: air_quality | fields: level, value, reading, qc\nTask: Get depth from rainfall where ts appears in air_quality readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002938", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: type, unit, lon, value\n Sensor: air_quality | fields: qc, reading, value, unit\nTask: Fetch value from evaporation that have at least one corresponding air_quality measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002939", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lat, depth, type, ts\n Sensor: sunlight | fields: type, unit, ts, reading\nTask: Get lat from dew_point where value exceeds the total value from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"sunlight\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002940", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: reading, unit, depth, lat\n Sensor: frost | fields: value, reading, ts, lat\nTask: Fetch lat from temperature where depth exists in frost sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002941", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: reading, qc, lat, value\n Sensor: sunlight | fields: lat, ts, depth, level\nTask: Get lon from cloud_cover where value exceeds the count of reading from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"sunlight\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002942", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: qc, unit, reading, level\n Sensor: wind_speed | fields: lat, level, reading, value\nTask: Get level from rainfall where ts appears in wind_speed readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002943", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lon, lat, type, depth\n Sensor: pressure | fields: ts, qc, level, type\nTask: Retrieve level from turbidity whose depth is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002944", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: depth, type, lat, qc\n Sensor: pressure | fields: level, unit, type, ts\nTask: Retrieve lat from rainfall with reading above the MAX(depth) of pressure readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002945", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: qc, lat, value, ts\n Sensor: pressure | fields: unit, ts, value, lat\nTask: Retrieve reading from lightning with depth above the AVG(reading) of pressure readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"pressure\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002946", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: ts, depth, lon, lat\n Sensor: soil_moisture | fields: value, lat, qc, depth\nTask: Fetch reading from snow_depth that have at least one corresponding soil_moisture measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002947", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: depth, lat, qc, level\n Sensor: evaporation | fields: level, depth, qc, reading\nTask: Get value from frost where ts appears in evaporation readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002948", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: lon, lat, ts, depth\n Sensor: air_quality | fields: qc, type, lat, depth\nTask: Retrieve depth from snow_depth whose type is found in air_quality records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002949", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: depth, lon, ts, reading\n Sensor: air_quality | fields: level, type, depth, reading\nTask: Retrieve depth from frost whose depth is found in air_quality records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002950", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lat, value, lon, ts\n Sensor: drought_index | fields: lat, unit, reading, depth\nTask: Retrieve lon from uv_index that have at least one matching reading in drought_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002951", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: ts, reading, qc, value\n Sensor: dew_point | fields: level, lon, type, value\nTask: Fetch depth from rainfall where depth exists in dew_point sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002952", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: qc, lon, lat, reading\n Sensor: frost | fields: lat, level, ts, value\nTask: Fetch level from cloud_cover where value is greater than the minimum of depth in frost for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"frost\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002953", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: unit, lon, reading, lat\n Sensor: air_quality | fields: level, value, type, unit\nTask: Get value from turbidity where a corresponding entry exists in air_quality with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "value", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002954", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: type, reading, depth, unit\n Sensor: humidity | fields: unit, lat, ts, qc\nTask: Get lat from sunlight where depth exceeds the minimum depth from humidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002955", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: ts, qc, type, value\n Sensor: visibility | fields: lon, type, lat, depth\nTask: Retrieve depth from drought_index with reading above the COUNT(reading) of visibility readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"visibility\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002956", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lon, ts, unit, level\n Sensor: cloud_cover | fields: reading, lon, type, ts\nTask: Retrieve lat from snow_depth with reading above the MAX(reading) of cloud_cover readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002957", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lon, type, lat, depth\n Sensor: cloud_cover | fields: depth, reading, type, lat\nTask: Get reading from visibility where qc appears in cloud_cover readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002958", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: type, level, lon, depth\n Sensor: dew_point | fields: value, lon, ts, type\nTask: Fetch depth from pressure where value is greater than the maximum of reading in dew_point for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"dew_point\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002959", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: ts, level, unit, qc\n Sensor: rainfall | fields: lon, depth, value, unit\nTask: Retrieve lon from visibility whose qc is found in rainfall records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002960", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: qc, type, level, ts\n Sensor: wind_speed | fields: value, depth, unit, lat\nTask: Fetch depth from visibility that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002961", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: value, depth, qc, lat\n Sensor: evaporation | fields: qc, ts, depth, unit\nTask: Get reading from lightning where a corresponding entry exists in evaporation with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002962", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: qc, type, unit, depth\n Sensor: visibility | fields: unit, qc, lon, level\nTask: Fetch level from cloud_cover where depth exists in visibility sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002963", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: qc, type, lat, unit\n Sensor: lightning | fields: lat, unit, level, qc\nTask: Get reading from humidity where type appears in lightning readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002964", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: unit, reading, type, lat\n Sensor: air_quality | fields: reading, level, type, lon\nTask: Retrieve reading from lightning that have at least one matching reading in air_quality sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "reading", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002965", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: unit, value, depth, type\n Sensor: wind_speed | fields: type, level, unit, lon\nTask: Fetch level from visibility where value is greater than the maximum of reading in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"wind_speed\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002966", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: unit, value, type, lon\n Sensor: drought_index | fields: level, qc, reading, lon\nTask: Fetch depth from turbidity where reading is greater than the average of reading in drought_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"drought_index\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002967", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: unit, value, qc, depth\n Sensor: snow_depth | fields: depth, ts, value, qc\nTask: Get lon from rainfall where reading exceeds the average depth from snow_depth for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"snow_depth\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002968", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: unit, ts, lon, level\n Sensor: evaporation | fields: unit, type, reading, qc\nTask: Fetch value from pressure where qc exists in evaporation sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002969", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: level, value, ts, qc\n Sensor: temperature | fields: lat, level, reading, depth\nTask: Fetch depth from visibility that have at least one corresponding temperature measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002970", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: reading, type, ts, value\n Sensor: snow_depth | fields: unit, depth, type, level\nTask: Get reading from dew_point where depth exceeds the average depth from snow_depth for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"snow_depth\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002971", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: ts, lat, depth, value\n Sensor: wind_speed | fields: reading, value, qc, depth\nTask: Retrieve depth from humidity whose unit is found in wind_speed records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002972", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: level, lat, value, type\n Sensor: frost | fields: value, type, ts, lon\nTask: Get level from sunlight where ts appears in frost readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002973", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: unit, lon, type, depth\n Sensor: sunlight | fields: depth, level, unit, qc\nTask: Retrieve depth from humidity that have at least one matching reading in sunlight sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002974", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lon, ts, level, reading\n Sensor: rainfall | fields: lon, unit, lat, ts\nTask: Fetch level from soil_moisture that have at least one corresponding rainfall measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002975", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lon, level, qc, ts\n Sensor: humidity | fields: unit, ts, lat, type\nTask: Retrieve level from visibility with reading above the MIN(reading) of humidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002976", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: type, value, reading, lat\n Sensor: evaporation | fields: unit, depth, type, qc\nTask: Fetch reading from turbidity where unit exists in evaporation sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002977", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: value, qc, type, ts\n Sensor: frost | fields: type, reading, lon, depth\nTask: Get level from pressure where depth exceeds the minimum value from frost for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"frost\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002978", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: lat, qc, level, unit\n Sensor: sunlight | fields: ts, level, type, value\nTask: Retrieve lon from air_quality with reading above the COUNT(depth) of sunlight readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002979", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: qc, lon, lat, value\n Sensor: turbidity | fields: value, depth, qc, unit\nTask: Fetch level from soil_moisture where depth exists in turbidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002980", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: reading, depth, unit, lat\n Sensor: soil_moisture | fields: ts, qc, level, lat\nTask: Retrieve depth from cloud_cover with reading above the AVG(depth) of soil_moisture readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002981", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: value, qc, lat, lon\n Sensor: rainfall | fields: type, qc, reading, lat\nTask: Fetch value from dew_point where depth is greater than the total of depth in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"rainfall\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002982", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lat, depth, lon, value\n Sensor: uv_index | fields: ts, level, value, reading\nTask: Fetch lat from rainfall where ts exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002983", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lat, unit, qc, lon\n Sensor: air_quality | fields: type, qc, lon, depth\nTask: Get reading from turbidity where type appears in air_quality readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002984", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: value, lon, type, qc\n Sensor: pressure | fields: lon, reading, depth, value\nTask: Retrieve value from sunlight that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002985", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: type, level, ts, lon\n Sensor: temperature | fields: depth, reading, lon, unit\nTask: Get lon from turbidity where ts appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002986", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: unit, lon, depth, value\n Sensor: rainfall | fields: value, ts, qc, lat\nTask: Get lon from turbidity where unit appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_002987", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: depth, qc, type, lat\n Sensor: lightning | fields: depth, unit, reading, lat\nTask: Get reading from wind_speed where depth exceeds the minimum value from lightning for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"lightning\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002988", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: type, unit, lat, value\n Sensor: snow_depth | fields: lat, lon, type, depth\nTask: Retrieve level from cloud_cover whose ts is found in snow_depth records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002989", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lat, reading, unit, lon\n Sensor: uv_index | fields: value, reading, lat, ts\nTask: Fetch level from dew_point that have at least one corresponding uv_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "level", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002990", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: lon, qc, lat, level\n Sensor: dew_point | fields: value, depth, lon, level\nTask: Fetch level from sunlight where depth is greater than the total of value in dew_point for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"dew_point\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002991", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: value, level, reading, lon\n Sensor: temperature | fields: value, reading, ts, depth\nTask: Get level from wind_speed where reading exceeds the count of value from temperature for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"temperature\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002992", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: lon, value, depth, qc\n Sensor: snow_depth | fields: value, depth, lon, type\nTask: Retrieve depth from sunlight that have at least one matching reading in snow_depth sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002993", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: depth, qc, type, lon\n Sensor: lightning | fields: unit, qc, depth, reading\nTask: Get reading from dew_point where value exceeds the minimum depth from lightning for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"lightning\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002994", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: ts, type, value, lon\n Sensor: pressure | fields: level, value, reading, unit\nTask: Get depth from humidity where type appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002995", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: lat, type, reading, ts\n Sensor: dew_point | fields: depth, lat, reading, ts\nTask: Fetch value from uv_index that have at least one corresponding dew_point measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "value", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002996", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: depth, level, unit, ts\n Sensor: sunlight | fields: lat, level, depth, qc\nTask: Fetch lon from air_quality that have at least one corresponding sunlight measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002997", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: lon, lat, level, type\n Sensor: dew_point | fields: level, value, ts, unit\nTask: Fetch reading from uv_index where qc exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002998", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: level, lon, qc, unit\n Sensor: dew_point | fields: lat, unit, qc, level\nTask: Fetch reading from temperature where type exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_002999", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: lon, reading, unit, value\n Sensor: frost | fields: reading, type, ts, unit\nTask: Get depth from soil_moisture where a corresponding entry exists in frost with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003000", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: reading, level, value, lon\n Sensor: drought_index | fields: value, depth, qc, type\nTask: Fetch lat from uv_index that have at least one corresponding drought_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lat", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003001", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: level, depth, ts, qc\n Sensor: drought_index | fields: qc, lon, ts, unit\nTask: Get lat from frost where qc appears in drought_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003002", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: ts, depth, lat, lon\n Sensor: snow_depth | fields: level, type, unit, qc\nTask: Get value from wind_speed where value exceeds the maximum reading from snow_depth for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003003", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: level, depth, lat, qc\n Sensor: dew_point | fields: qc, lon, type, ts\nTask: Fetch reading from uv_index where reading is greater than the average of reading in dew_point for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"dew_point\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003004", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lat, lon, reading, ts\n Sensor: evaporation | fields: unit, qc, level, lat\nTask: Fetch reading from wind_speed where depth is greater than the average of reading in evaporation for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003005", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: ts, depth, lat, lon\n Sensor: wind_speed | fields: lat, type, unit, value\nTask: Get depth from uv_index where depth appears in wind_speed readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003006", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lat, depth, reading, qc\n Sensor: turbidity | fields: level, lon, type, lat\nTask: Retrieve lat from pressure with value above the SUM(value) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"turbidity\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003007", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: level, unit, lon, reading\n Sensor: sunlight | fields: lat, type, level, depth\nTask: Get value from visibility where a corresponding entry exists in sunlight with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003008", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lon, qc, unit, ts\n Sensor: lightning | fields: lat, type, lon, depth\nTask: Retrieve lat from drought_index that have at least one matching reading in lightning sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lat", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003009", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: ts, type, level, depth\n Sensor: air_quality | fields: type, ts, value, reading\nTask: Retrieve value from cloud_cover that have at least one matching reading in air_quality sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003010", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: value, ts, qc, lon\n Sensor: evaporation | fields: ts, type, lon, value\nTask: Fetch reading from turbidity where reading is greater than the maximum of reading in evaporation for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003011", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: value, lon, reading, depth\n Sensor: evaporation | fields: depth, qc, level, type\nTask: Get level from wind_speed where unit appears in evaporation readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003012", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: lon, unit, ts, reading\n Sensor: dew_point | fields: lon, unit, level, type\nTask: Retrieve depth from frost with depth above the COUNT(reading) of dew_point readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"dew_point\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003013", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: level, ts, lat, type\n Sensor: evaporation | fields: lat, qc, level, value\nTask: Get reading from air_quality where a corresponding entry exists in evaporation with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003014", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: qc, lon, depth, value\n Sensor: dew_point | fields: ts, level, value, qc\nTask: Get value from evaporation where depth exceeds the minimum reading from dew_point for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"dew_point\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003015", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: unit, value, reading, qc\n Sensor: visibility | fields: ts, type, lat, reading\nTask: Get lon from evaporation where depth exceeds the average reading from visibility for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003016", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: type, depth, lat, value\n Sensor: temperature | fields: ts, qc, value, unit\nTask: Fetch lon from snow_depth that have at least one corresponding temperature measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003017", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: qc, lat, depth, type\n Sensor: lightning | fields: qc, ts, lon, lat\nTask: Get level from evaporation where depth exceeds the total depth from lightning for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"lightning\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003018", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: value, ts, unit, depth\n Sensor: turbidity | fields: ts, type, depth, lat\nTask: Fetch value from humidity that have at least one corresponding turbidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003019", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: level, ts, value, unit\n Sensor: dew_point | fields: type, lat, lon, ts\nTask: Get depth from humidity where depth exceeds the maximum depth from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"dew_point\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003020", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: reading, depth, lat, level\n Sensor: air_quality | fields: lon, type, lat, ts\nTask: Get depth from lightning where unit appears in air_quality readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003021", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: qc, level, lon, type\n Sensor: uv_index | fields: qc, level, lat, depth\nTask: Get lat from lightning where a corresponding entry exists in uv_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003022", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: reading, lat, type, qc\n Sensor: temperature | fields: lon, reading, qc, ts\nTask: Fetch value from frost that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003023", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: value, depth, type, lon\n Sensor: wind_speed | fields: value, unit, ts, level\nTask: Fetch depth from snow_depth that have at least one corresponding wind_speed measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003024", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: unit, depth, qc, value\n Sensor: cloud_cover | fields: unit, qc, type, depth\nTask: Retrieve lat from lightning whose qc is found in cloud_cover records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003025", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: ts, reading, lon, qc\n Sensor: dew_point | fields: depth, unit, qc, ts\nTask: Fetch lat from soil_moisture that have at least one corresponding dew_point measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003026", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: qc, unit, type, level\n Sensor: turbidity | fields: unit, lat, lon, level\nTask: Retrieve level from frost with depth above the MAX(value) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"turbidity\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003027", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: ts, type, reading, level\n Sensor: frost | fields: lat, depth, ts, reading\nTask: Get lat from sunlight where a corresponding entry exists in frost with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "lat", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003028", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: level, unit, lon, type\n Sensor: cloud_cover | fields: ts, value, reading, type\nTask: Get lon from sunlight where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003029", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lon, ts, type, depth\n Sensor: frost | fields: depth, reading, lon, value\nTask: Retrieve value from drought_index that have at least one matching reading in frost sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "value", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003030", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: depth, lon, value, unit\n Sensor: visibility | fields: unit, level, value, ts\nTask: Retrieve lon from evaporation with depth above the MAX(reading) of visibility readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"visibility\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003031", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: depth, reading, qc, type\n Sensor: rainfall | fields: qc, ts, lon, unit\nTask: Fetch level from turbidity where value is greater than the count of of depth in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"rainfall\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003032", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: depth, qc, unit, reading\n Sensor: evaporation | fields: depth, level, ts, lon\nTask: Retrieve lat from lightning that have at least one matching reading in evaporation sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lat", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003033", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: level, type, depth, value\n Sensor: rainfall | fields: type, depth, lon, unit\nTask: Get value from uv_index where type appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003034", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: reading, depth, lat, type\n Sensor: sunlight | fields: type, level, lon, unit\nTask: Fetch value from soil_moisture where unit exists in sunlight sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003035", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: reading, lat, lon, value\n Sensor: rainfall | fields: depth, reading, lon, unit\nTask: Get reading from frost where depth exceeds the count of reading from rainfall for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"rainfall\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003036", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: lon, ts, unit, reading\n Sensor: soil_moisture | fields: ts, lat, depth, unit\nTask: Retrieve reading from evaporation whose unit is found in soil_moisture records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003037", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: depth, type, qc, ts\n Sensor: soil_moisture | fields: type, value, lon, unit\nTask: Get reading from humidity where a corresponding entry exists in soil_moisture with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003038", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: lon, value, reading, qc\n Sensor: dew_point | fields: value, unit, level, ts\nTask: Get lat from soil_moisture where value exceeds the maximum reading from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"dew_point\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003039", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: lat, depth, type, level\n Sensor: drought_index | fields: lat, lon, depth, type\nTask: Retrieve lat from uv_index that have at least one matching reading in drought_index sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003040", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: unit, lat, ts, qc\n Sensor: humidity | fields: qc, lon, reading, depth\nTask: Get value from frost where depth appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003041", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lat, level, type, value\n Sensor: dew_point | fields: depth, ts, lon, value\nTask: Get reading from turbidity where value exceeds the total value from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"dew_point\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003042", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: type, lon, ts, level\n Sensor: wind_speed | fields: ts, depth, level, value\nTask: Get lon from cloud_cover where reading exceeds the maximum depth from wind_speed for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"wind_speed\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003043", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: qc, level, type, lat\n Sensor: soil_moisture | fields: type, value, reading, lat\nTask: Retrieve lon from cloud_cover whose unit is found in soil_moisture records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003044", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: type, lon, value, unit\n Sensor: temperature | fields: lon, lat, depth, level\nTask: Retrieve value from sunlight whose unit is found in temperature records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003045", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: reading, lat, value, level\n Sensor: evaporation | fields: level, depth, qc, lat\nTask: Retrieve lat from soil_moisture with depth above the MIN(depth) of evaporation readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003046", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: level, lon, qc, ts\n Sensor: snow_depth | fields: ts, unit, lon, type\nTask: Retrieve depth from turbidity whose qc is found in snow_depth records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003047", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lon, ts, lat, reading\n Sensor: dew_point | fields: lon, reading, depth, unit\nTask: Get level from sunlight where depth appears in dew_point readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003048", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: level, unit, qc, type\n Sensor: wind_speed | fields: depth, ts, type, value\nTask: Get lat from air_quality where depth appears in wind_speed readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003049", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lon, ts, qc, reading\n Sensor: wind_speed | fields: lon, unit, lat, level\nTask: Fetch lat from sunlight where ts exists in wind_speed sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003050", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lat, level, ts, depth\n Sensor: uv_index | fields: qc, lat, type, ts\nTask: Retrieve depth from drought_index whose type is found in uv_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003051", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: unit, value, qc, ts\n Sensor: dew_point | fields: unit, value, lon, lat\nTask: Get value from sunlight where reading exceeds the count of value from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"dew_point\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003052", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: ts, lon, reading, unit\n Sensor: uv_index | fields: type, value, level, lon\nTask: Fetch reading from drought_index where reading is greater than the count of of depth in uv_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"uv_index\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003053", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: depth, reading, lat, value\n Sensor: snow_depth | fields: qc, lon, ts, lat\nTask: Fetch lat from lightning where reading is greater than the average of reading in snow_depth for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"snow_depth\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003054", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: qc, type, depth, lon\n Sensor: wind_speed | fields: value, depth, level, type\nTask: Get level from turbidity where depth exceeds the average reading from wind_speed for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"wind_speed\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003055", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lon, lat, type, depth\n Sensor: lightning | fields: level, qc, ts, lat\nTask: Fetch lon from sunlight that have at least one corresponding lightning measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003056", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: reading, value, type, level\n Sensor: uv_index | fields: qc, lat, unit, value\nTask: Retrieve reading from turbidity whose depth is found in uv_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003057", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: value, lat, unit, level\n Sensor: humidity | fields: unit, lat, level, lon\nTask: Retrieve level from soil_moisture that have at least one matching reading in humidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003058", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: unit, level, qc, type\n Sensor: dew_point | fields: level, ts, unit, reading\nTask: Retrieve level from visibility with reading above the SUM(depth) of dew_point readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"dew_point\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003059", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: lat, lon, level, depth\n Sensor: rainfall | fields: reading, lon, type, value\nTask: Retrieve depth from cloud_cover that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003060", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: qc, unit, type, value\n Sensor: lightning | fields: reading, value, lat, depth\nTask: Retrieve lon from sunlight that have at least one matching reading in lightning sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003061", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: value, depth, qc, lat\n Sensor: wind_speed | fields: unit, qc, reading, ts\nTask: Retrieve depth from cloud_cover that have at least one matching reading in wind_speed sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003062", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: reading, depth, value, lon\n Sensor: sunlight | fields: depth, type, ts, value\nTask: Fetch reading from dew_point where type exists in sunlight sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003063", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: value, depth, qc, lat\n Sensor: cloud_cover | fields: ts, reading, depth, unit\nTask: Retrieve lon from uv_index whose type is found in cloud_cover records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003064", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: type, lat, depth, ts\n Sensor: visibility | fields: reading, qc, value, level\nTask: Retrieve lon from soil_moisture with depth above the AVG(depth) of visibility readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"visibility\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003065", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: depth, lon, unit, reading\n Sensor: dew_point | fields: lat, qc, lon, ts\nTask: Fetch reading from air_quality where ts exists in dew_point sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003066", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: depth, unit, qc, lat\n Sensor: pressure | fields: reading, level, ts, qc\nTask: Fetch depth from drought_index that have at least one corresponding pressure measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003067", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lat, unit, level, ts\n Sensor: frost | fields: unit, reading, qc, value\nTask: Retrieve lat from pressure whose qc is found in frost records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003068", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lon, type, unit, level\n Sensor: evaporation | fields: value, type, lon, unit\nTask: Fetch level from temperature that have at least one corresponding evaporation measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003069", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: value, unit, lon, ts\n Sensor: drought_index | fields: lon, type, depth, lat\nTask: Get level from visibility where value exceeds the total value from drought_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"drought_index\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003070", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: value, unit, reading, lat\n Sensor: uv_index | fields: type, level, depth, unit\nTask: Retrieve reading from frost that have at least one matching reading in uv_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "reading", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003071", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: ts, value, level, depth\n Sensor: soil_moisture | fields: lon, lat, depth, type\nTask: Retrieve reading from frost whose type is found in soil_moisture records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003072", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: unit, reading, depth, level\n Sensor: air_quality | fields: ts, type, depth, qc\nTask: Get depth from visibility where reading exceeds the average reading from air_quality for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003073", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: unit, value, qc, lon\n Sensor: wind_speed | fields: qc, unit, ts, value\nTask: Get value from turbidity where unit appears in wind_speed readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003074", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: level, qc, ts, lon\n Sensor: frost | fields: reading, ts, depth, qc\nTask: Fetch lat from humidity where ts exists in frost sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003075", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: lat, reading, lon, unit\n Sensor: visibility | fields: depth, unit, level, lat\nTask: Get lat from rainfall where reading exceeds the total depth from visibility for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"visibility\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003076", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: qc, level, ts, lat\n Sensor: uv_index | fields: lat, type, lon, value\nTask: Fetch value from lightning where depth is greater than the average of reading in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"uv_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003077", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: type, ts, lat, depth\n Sensor: soil_moisture | fields: unit, lon, ts, type\nTask: Retrieve depth from snow_depth whose type is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003078", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: level, depth, type, ts\n Sensor: visibility | fields: qc, lon, unit, value\nTask: Get lat from uv_index where a corresponding entry exists in visibility with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003079", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: reading, depth, value, type\n Sensor: turbidity | fields: depth, level, qc, reading\nTask: Get level from sunlight where depth exceeds the count of value from turbidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"turbidity\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003080", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: level, depth, reading, value\n Sensor: dew_point | fields: type, value, depth, level\nTask: Get lon from turbidity where a corresponding entry exists in dew_point with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003081", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lat, unit, ts, type\n Sensor: snow_depth | fields: level, type, ts, depth\nTask: Fetch depth from lightning where depth is greater than the maximum of depth in snow_depth for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"snow_depth\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003082", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lat, lon, ts, reading\n Sensor: evaporation | fields: reading, type, value, depth\nTask: Retrieve reading from rainfall with value above the SUM(depth) of evaporation readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003083", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: ts, lon, depth, lat\n Sensor: humidity | fields: lon, type, unit, value\nTask: Get lat from sunlight where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003084", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: qc, type, lon, lat\n Sensor: uv_index | fields: qc, unit, ts, level\nTask: Get lat from turbidity where depth appears in uv_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003085", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: qc, reading, lon, type\n Sensor: cloud_cover | fields: type, qc, depth, ts\nTask: Retrieve value from evaporation that have at least one matching reading in cloud_cover sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003086", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: unit, reading, lon, ts\n Sensor: cloud_cover | fields: level, lat, unit, qc\nTask: Retrieve value from temperature whose unit is found in cloud_cover records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003087", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: lon, reading, value, depth\n Sensor: uv_index | fields: reading, lon, level, type\nTask: Fetch level from wind_speed where reading is greater than the total of depth in uv_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"uv_index\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003088", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: value, ts, level, depth\n Sensor: rainfall | fields: value, depth, lat, unit\nTask: Fetch depth from visibility where depth is greater than the total of value in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"rainfall\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003089", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: reading, qc, type, level\n Sensor: turbidity | fields: depth, qc, type, unit\nTask: Fetch level from temperature where qc exists in turbidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003090", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: unit, ts, reading, type\n Sensor: uv_index | fields: type, depth, lat, ts\nTask: Retrieve value from soil_moisture that have at least one matching reading in uv_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003091", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: type, ts, lon, qc\n Sensor: sunlight | fields: lat, lon, qc, type\nTask: Get value from wind_speed where unit appears in sunlight readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003092", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lat, value, unit, ts\n Sensor: lightning | fields: lon, value, lat, reading\nTask: Retrieve reading from humidity with reading above the SUM(reading) of lightning readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"lightning\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003093", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: depth, reading, lat, qc\n Sensor: evaporation | fields: type, reading, depth, level\nTask: Get lat from dew_point where reading exceeds the maximum reading from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"evaporation\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003094", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: reading, type, ts, qc\n Sensor: humidity | fields: reading, lon, level, ts\nTask: Fetch lat from visibility where qc exists in humidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003095", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: unit, reading, lat, depth\n Sensor: temperature | fields: value, lat, reading, type\nTask: Get lon from evaporation where a corresponding entry exists in temperature with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003096", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: ts, lon, value, type\n Sensor: visibility | fields: type, depth, qc, unit\nTask: Get value from snow_depth where type appears in visibility readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003097", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: reading, depth, ts, lon\n Sensor: air_quality | fields: level, lat, ts, lon\nTask: Fetch lon from lightning where type exists in air_quality sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003098", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: lon, reading, unit, qc\n Sensor: evaporation | fields: ts, lat, lon, depth\nTask: Get depth from rainfall where ts appears in evaporation readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003099", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lon, type, qc, reading\n Sensor: pressure | fields: lat, lon, depth, qc\nTask: Get level from temperature where value exceeds the count of value from pressure for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003100", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lon, qc, value, depth\n Sensor: turbidity | fields: qc, ts, lon, depth\nTask: Get level from humidity where a corresponding entry exists in turbidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003101", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: level, lat, reading, qc\n Sensor: lightning | fields: level, qc, reading, value\nTask: Get reading from pressure where type appears in lightning readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003102", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: unit, type, value, depth\n Sensor: air_quality | fields: ts, value, depth, lon\nTask: Fetch value from pressure that have at least one corresponding air_quality measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003103", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: unit, qc, depth, level\n Sensor: air_quality | fields: type, lat, reading, qc\nTask: Retrieve level from uv_index that have at least one matching reading in air_quality sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "level", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003104", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: depth, lon, ts, qc\n Sensor: drought_index | fields: unit, value, level, reading\nTask: Get lat from pressure where depth exceeds the total reading from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003105", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: reading, unit, ts, lat\n Sensor: temperature | fields: value, level, lat, ts\nTask: Get lat from cloud_cover where qc appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003106", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: unit, ts, reading, level\n Sensor: visibility | fields: lon, ts, unit, value\nTask: Get depth from wind_speed where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003107", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: depth, ts, value, qc\n Sensor: dew_point | fields: level, reading, unit, type\nTask: Retrieve level from drought_index with depth above the MIN(depth) of dew_point readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"dew_point\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003108", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: type, reading, lon, level\n Sensor: pressure | fields: ts, level, reading, qc\nTask: Retrieve value from soil_moisture with value above the MIN(depth) of pressure readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003109", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: depth, reading, value, unit\n Sensor: soil_moisture | fields: type, level, unit, reading\nTask: Retrieve reading from sunlight with value above the SUM(value) of soil_moisture readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003110", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: qc, ts, type, reading\n Sensor: frost | fields: unit, qc, ts, value\nTask: Fetch lat from soil_moisture that have at least one corresponding frost measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003111", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: unit, depth, value, reading\n Sensor: turbidity | fields: lon, depth, reading, qc\nTask: Retrieve value from visibility that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003112", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: qc, depth, reading, lon\n Sensor: dew_point | fields: lon, depth, qc, reading\nTask: Fetch level from temperature that have at least one corresponding dew_point measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003113", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: unit, qc, ts, value\n Sensor: rainfall | fields: level, value, depth, lat\nTask: Get lon from wind_speed where depth appears in rainfall readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003114", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: qc, value, depth, lat\n Sensor: uv_index | fields: ts, level, reading, depth\nTask: Fetch lon from rainfall where type exists in uv_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003115", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: ts, lon, level, type\n Sensor: air_quality | fields: lon, type, unit, qc\nTask: Fetch depth from pressure where reading is greater than the total of value in air_quality for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003116", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: level, reading, ts, type\n Sensor: turbidity | fields: reading, value, unit, type\nTask: Get lon from sunlight where unit appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003117", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: level, unit, ts, reading\n Sensor: wind_speed | fields: lon, value, reading, type\nTask: Retrieve lat from temperature with value above the MAX(value) of wind_speed readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"wind_speed\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003118", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: depth, ts, level, qc\n Sensor: rainfall | fields: unit, lon, type, qc\nTask: Fetch level from turbidity where type exists in rainfall sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003119", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: type, lat, depth, level\n Sensor: frost | fields: lat, unit, level, ts\nTask: Fetch lat from humidity where value is greater than the total of reading in frost for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"frost\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003120", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: value, depth, level, qc\n Sensor: wind_speed | fields: lon, level, reading, depth\nTask: Retrieve value from pressure with value above the MAX(reading) of wind_speed readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003121", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: lon, value, level, qc\n Sensor: pressure | fields: ts, level, unit, type\nTask: Retrieve lon from frost that have at least one matching reading in pressure sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003122", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: reading, lat, lon, ts\n Sensor: cloud_cover | fields: value, unit, level, reading\nTask: Get value from humidity where value exceeds the minimum value from cloud_cover for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"cloud_cover\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003123", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: qc, unit, depth, ts\n Sensor: turbidity | fields: type, level, value, qc\nTask: Retrieve depth from pressure with depth above the MIN(depth) of turbidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"turbidity\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003124", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: level, reading, lat, ts\n Sensor: uv_index | fields: qc, unit, value, level\nTask: Fetch level from rainfall where reading is greater than the total of value in uv_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"uv_index\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003125", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: type, reading, unit, depth\n Sensor: lightning | fields: reading, level, unit, lon\nTask: Get reading from wind_speed where value exceeds the minimum depth from lightning for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"lightning\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003126", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lon, unit, qc, type\n Sensor: lightning | fields: type, lat, unit, value\nTask: Retrieve lat from snow_depth that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003127", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: qc, ts, reading, lon\n Sensor: wind_speed | fields: value, type, unit, qc\nTask: Fetch level from uv_index that have at least one corresponding wind_speed measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003128", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: type, lat, ts, level\n Sensor: pressure | fields: reading, lon, level, lat\nTask: Retrieve depth from snow_depth that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003129", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: level, ts, reading, depth\n Sensor: wind_speed | fields: qc, type, value, level\nTask: Fetch value from evaporation that have at least one corresponding wind_speed measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "value", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003130", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: unit, lon, ts, reading\n Sensor: rainfall | fields: reading, lat, level, type\nTask: Fetch level from lightning where reading is greater than the minimum of depth in rainfall for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"rainfall\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003131", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: level, qc, type, depth\n Sensor: dew_point | fields: value, reading, ts, type\nTask: Get level from evaporation where a corresponding entry exists in dew_point with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "level", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003132", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lat, lon, type, unit\n Sensor: temperature | fields: unit, value, depth, ts\nTask: Get reading from pressure where a corresponding entry exists in temperature with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "reading", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003133", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lat, value, unit, level\n Sensor: pressure | fields: depth, type, qc, ts\nTask: Retrieve reading from soil_moisture that have at least one matching reading in pressure sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "reading", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003134", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: ts, lon, reading, type\n Sensor: wind_speed | fields: value, reading, depth, lat\nTask: Get lon from uv_index where a corresponding entry exists in wind_speed with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003135", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: reading, value, lat, depth\n Sensor: air_quality | fields: ts, reading, lat, lon\nTask: Fetch value from temperature that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "value", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003136", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: ts, value, type, level\n Sensor: humidity | fields: level, qc, unit, ts\nTask: Retrieve level from evaporation whose type is found in humidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003137", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: type, depth, lon, lat\n Sensor: temperature | fields: level, unit, reading, lon\nTask: Fetch lat from sunlight where depth exists in temperature sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003138", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: value, unit, level, type\n Sensor: temperature | fields: unit, lon, qc, reading\nTask: Retrieve level from snow_depth with reading above the COUNT(value) of temperature readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"temperature\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003139", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: type, value, reading, depth\n Sensor: rainfall | fields: type, reading, value, ts\nTask: Retrieve lat from visibility with depth above the COUNT(value) of rainfall readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"rainfall\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003140", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lat, type, reading, unit\n Sensor: drought_index | fields: unit, type, ts, depth\nTask: Retrieve level from evaporation with depth above the AVG(value) of drought_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"drought_index\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003141", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: ts, lat, depth, reading\n Sensor: frost | fields: lon, type, depth, qc\nTask: Get level from turbidity where qc appears in frost readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003142", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: ts, type, lat, level\n Sensor: sunlight | fields: depth, level, qc, lat\nTask: Get reading from snow_depth where a corresponding entry exists in sunlight with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003143", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: value, qc, lon, level\n Sensor: wind_speed | fields: type, qc, unit, ts\nTask: Retrieve lon from frost that have at least one matching reading in wind_speed sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003144", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: qc, reading, depth, value\n Sensor: wind_speed | fields: qc, depth, reading, level\nTask: Get reading from humidity where value exceeds the total reading from wind_speed for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003145", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: value, type, depth, ts\n Sensor: soil_moisture | fields: qc, type, level, value\nTask: Get value from frost where type appears in soil_moisture readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003146", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: value, ts, unit, lat\n Sensor: dew_point | fields: depth, reading, value, ts\nTask: Retrieve level from evaporation with value above the SUM(reading) of dew_point readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"dew_point\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003147", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: unit, lon, ts, level\n Sensor: dew_point | fields: qc, ts, unit, depth\nTask: Fetch reading from air_quality where value is greater than the maximum of value in dew_point for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003148", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: value, ts, type, level\n Sensor: humidity | fields: level, value, lon, ts\nTask: Get depth from drought_index where a corresponding entry exists in humidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003149", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: reading, ts, lat, type\n Sensor: visibility | fields: lat, depth, value, type\nTask: Retrieve lon from dew_point that have at least one matching reading in visibility sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003150", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: reading, unit, lat, depth\n Sensor: frost | fields: reading, depth, value, unit\nTask: Fetch lon from lightning where qc exists in frost sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003151", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: value, type, reading, ts\n Sensor: visibility | fields: reading, lat, unit, type\nTask: Get level from sunlight where value exceeds the total reading from visibility for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"visibility\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003152", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lon, ts, reading, value\n Sensor: snow_depth | fields: lon, reading, depth, value\nTask: Fetch reading from visibility where reading is greater than the minimum of reading in snow_depth for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"snow_depth\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003153", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: lat, unit, type, ts\n Sensor: snow_depth | fields: qc, value, lat, level\nTask: Get lat from lightning where reading exceeds the count of depth from snow_depth for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"snow_depth\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003154", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: reading, lat, unit, value\n Sensor: wind_speed | fields: lat, ts, value, qc\nTask: Fetch lat from drought_index that have at least one corresponding wind_speed measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lat", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003155", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: ts, qc, reading, type\n Sensor: evaporation | fields: value, depth, lat, ts\nTask: Retrieve value from uv_index with depth above the SUM(reading) of evaporation readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"evaporation\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003156", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: lat, depth, unit, level\n Sensor: soil_moisture | fields: level, ts, lat, depth\nTask: Get reading from cloud_cover where a corresponding entry exists in soil_moisture with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003157", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: ts, qc, level, depth\n Sensor: dew_point | fields: ts, depth, qc, lon\nTask: Get level from turbidity where a corresponding entry exists in dew_point with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "level", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003158", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: unit, ts, lon, level\n Sensor: turbidity | fields: level, value, reading, qc\nTask: Retrieve level from rainfall whose ts is found in turbidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003159", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: reading, ts, unit, lat\n Sensor: snow_depth | fields: lat, ts, reading, depth\nTask: Get value from pressure where a corresponding entry exists in snow_depth with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "value", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003160", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lat, value, depth, unit\n Sensor: lightning | fields: lat, lon, unit, ts\nTask: Retrieve lat from air_quality that have at least one matching reading in lightning sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lat", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003161", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: reading, type, depth, lat\n Sensor: dew_point | fields: value, depth, qc, lat\nTask: Retrieve level from cloud_cover that have at least one matching reading in dew_point sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003162", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: type, lon, qc, lat\n Sensor: turbidity | fields: unit, type, lon, depth\nTask: Get lat from visibility where a corresponding entry exists in turbidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003163", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: value, level, qc, ts\n Sensor: rainfall | fields: reading, qc, depth, lon\nTask: Retrieve reading from evaporation with reading above the AVG(depth) of rainfall readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"rainfall\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003164", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: level, lat, unit, ts\n Sensor: humidity | fields: depth, ts, unit, level\nTask: Fetch level from lightning that have at least one corresponding humidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003165", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: lon, reading, depth, type\n Sensor: evaporation | fields: reading, lat, qc, value\nTask: Fetch value from pressure where reading is greater than the minimum of value in evaporation for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"evaporation\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003166", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lon, depth, unit, reading\n Sensor: air_quality | fields: level, reading, lon, qc\nTask: Fetch reading from turbidity that have at least one corresponding air_quality measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003167", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: qc, ts, reading, unit\n Sensor: frost | fields: reading, value, qc, lon\nTask: Get level from wind_speed where a corresponding entry exists in frost with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "level", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003168", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: depth, reading, unit, type\n Sensor: evaporation | fields: qc, value, level, lon\nTask: Get value from pressure where a corresponding entry exists in evaporation with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "value", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003169", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: lat, depth, ts, lon\n Sensor: temperature | fields: type, ts, depth, lon\nTask: Retrieve depth from lightning with depth above the SUM(value) of temperature readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"temperature\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003170", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lat, lon, unit, type\n Sensor: dew_point | fields: depth, lat, qc, level\nTask: Get level from pressure where a corresponding entry exists in dew_point with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003171", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: depth, reading, qc, level\n Sensor: wind_speed | fields: lat, reading, lon, level\nTask: Retrieve lat from pressure that have at least one matching reading in wind_speed sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003172", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: depth, level, qc, ts\n Sensor: wind_speed | fields: lat, type, value, depth\nTask: Get value from sunlight where unit appears in wind_speed readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003173", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: value, unit, type, ts\n Sensor: temperature | fields: type, lat, reading, qc\nTask: Fetch depth from rainfall where ts exists in temperature sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003174", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: ts, unit, lon, lat\n Sensor: visibility | fields: lat, reading, level, value\nTask: Get depth from temperature where value exceeds the maximum depth from visibility for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"visibility\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003175", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: value, level, lat, reading\n Sensor: soil_moisture | fields: unit, level, type, reading\nTask: Fetch lat from uv_index where ts exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003176", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: value, lat, lon, reading\n Sensor: frost | fields: depth, value, type, lon\nTask: Get value from uv_index where value exceeds the maximum depth from frost for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"frost\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003177", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: qc, depth, lat, type\n Sensor: drought_index | fields: unit, lat, reading, value\nTask: Fetch value from evaporation where depth exists in drought_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003178", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: reading, depth, unit, lon\n Sensor: drought_index | fields: value, type, qc, lat\nTask: Retrieve value from wind_speed that have at least one matching reading in drought_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003179", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: level, lat, qc, depth\n Sensor: temperature | fields: qc, reading, type, level\nTask: Retrieve lon from turbidity whose depth is found in temperature records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003180", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: reading, type, lat, level\n Sensor: visibility | fields: value, unit, qc, level\nTask: Fetch value from frost where depth exists in visibility sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003181", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lat, level, type, unit\n Sensor: temperature | fields: level, lon, qc, ts\nTask: Fetch lat from air_quality where value is greater than the total of reading in temperature for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003182", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: depth, ts, unit, value\n Sensor: sunlight | fields: unit, lat, depth, level\nTask: Retrieve value from uv_index with reading above the COUNT(depth) of sunlight readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003183", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lon, value, ts, level\n Sensor: soil_moisture | fields: reading, lon, unit, ts\nTask: Get value from frost where value exceeds the average depth from soil_moisture for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003184", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: qc, type, lat, value\n Sensor: lightning | fields: depth, type, unit, qc\nTask: Retrieve reading from rainfall whose ts is found in lightning records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003185", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: level, value, depth, lon\n Sensor: pressure | fields: qc, depth, lat, lon\nTask: Retrieve lon from lightning with value above the COUNT(depth) of pressure readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"pressure\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003186", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: ts, value, level, type\n Sensor: cloud_cover | fields: level, lat, qc, unit\nTask: Get lon from humidity where a corresponding entry exists in cloud_cover with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003187", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: qc, lat, value, depth\n Sensor: sunlight | fields: value, type, lon, unit\nTask: Fetch depth from lightning where value is greater than the total of value in sunlight for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"sunlight\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003188", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: lat, lon, ts, unit\n Sensor: snow_depth | fields: ts, depth, reading, level\nTask: Retrieve reading from sunlight that have at least one matching reading in snow_depth sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003189", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: unit, level, lon, depth\n Sensor: evaporation | fields: ts, unit, lon, lat\nTask: Get lat from soil_moisture where a corresponding entry exists in evaporation with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003190", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: lat, ts, unit, value\n Sensor: cloud_cover | fields: value, type, lon, ts\nTask: Retrieve lat from evaporation whose qc is found in cloud_cover records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003191", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: depth, lat, unit, level\n Sensor: cloud_cover | fields: ts, unit, lon, lat\nTask: Retrieve reading from rainfall whose ts is found in cloud_cover records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003192", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: unit, depth, lon, ts\n Sensor: temperature | fields: reading, ts, lon, level\nTask: Get reading from rainfall where reading exceeds the average depth from temperature for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"temperature\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003193", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: qc, type, unit, depth\n Sensor: temperature | fields: ts, lat, qc, unit\nTask: Fetch level from sunlight that have at least one corresponding temperature measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003194", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: ts, value, depth, lat\n Sensor: rainfall | fields: level, value, lat, qc\nTask: Fetch lat from lightning where depth exists in rainfall sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003195", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: unit, ts, type, depth\n Sensor: temperature | fields: unit, lat, reading, level\nTask: Get value from lightning where a corresponding entry exists in temperature with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003196", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: depth, lat, unit, ts\n Sensor: frost | fields: level, lon, type, lat\nTask: Fetch lon from pressure where value is greater than the total of depth in frost for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"frost\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003197", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: reading, lat, ts, depth\n Sensor: air_quality | fields: unit, ts, type, level\nTask: Retrieve value from frost whose qc is found in air_quality records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003198", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: value, unit, type, reading\n Sensor: drought_index | fields: type, level, reading, depth\nTask: Get value from rainfall where depth exceeds the count of depth from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003199", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: ts, level, value, lat\n Sensor: pressure | fields: lat, reading, type, depth\nTask: Fetch value from dew_point where depth is greater than the count of of depth in pressure for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"pressure\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003200", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: ts, level, lat, type\n Sensor: rainfall | fields: lat, ts, type, lon\nTask: Retrieve level from pressure with reading above the COUNT(reading) of rainfall readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"rainfall\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003201", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lon, ts, type, lat\n Sensor: soil_moisture | fields: type, depth, unit, value\nTask: Fetch lon from rainfall that have at least one corresponding soil_moisture measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003202", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: lat, lon, ts, depth\n Sensor: air_quality | fields: level, qc, value, ts\nTask: Retrieve reading from dew_point whose ts is found in air_quality records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003203", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: level, lat, qc, value\n Sensor: sunlight | fields: level, ts, lon, qc\nTask: Retrieve value from air_quality with depth above the COUNT(reading) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003204", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lon, level, qc, ts\n Sensor: uv_index | fields: level, ts, reading, type\nTask: Fetch depth from lightning where value is greater than the average of reading in uv_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003205", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: unit, qc, ts, level\n Sensor: frost | fields: ts, type, depth, unit\nTask: Retrieve reading from snow_depth with depth above the COUNT(reading) of frost readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"frost\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003206", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: reading, lat, depth, value\n Sensor: cloud_cover | fields: ts, lon, type, unit\nTask: Get lon from soil_moisture where unit appears in cloud_cover readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003207", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: value, qc, type, level\n Sensor: wind_speed | fields: level, lat, ts, depth\nTask: Get lat from soil_moisture where ts appears in wind_speed readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003208", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: unit, ts, reading, level\n Sensor: visibility | fields: lat, reading, depth, unit\nTask: Retrieve reading from drought_index that have at least one matching reading in visibility sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "reading", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003209", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: level, lat, unit, lon\n Sensor: snow_depth | fields: qc, lon, depth, lat\nTask: Fetch level from soil_moisture that have at least one corresponding snow_depth measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003210", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: lat, type, depth, value\n Sensor: cloud_cover | fields: lon, ts, qc, level\nTask: Retrieve depth from visibility with value above the MIN(value) of cloud_cover readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"cloud_cover\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003211", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lon, level, reading, qc\n Sensor: cloud_cover | fields: lat, reading, qc, level\nTask: Get lon from sunlight where depth exceeds the maximum value from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003212", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: ts, qc, lat, lon\n Sensor: soil_moisture | fields: type, ts, qc, level\nTask: Get level from frost where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003213", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lon, type, lat, unit\n Sensor: uv_index | fields: ts, qc, type, depth\nTask: Retrieve lon from rainfall whose type is found in uv_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003214", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: ts, level, qc, depth\n Sensor: uv_index | fields: lon, lat, level, depth\nTask: Retrieve lat from pressure that have at least one matching reading in uv_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003215", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: lat, qc, level, depth\n Sensor: snow_depth | fields: lat, ts, unit, value\nTask: Fetch level from dew_point where unit exists in snow_depth sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003216", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: type, ts, reading, value\n Sensor: visibility | fields: lon, value, reading, ts\nTask: Retrieve lat from lightning whose qc is found in visibility records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003217", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lon, type, ts, lat\n Sensor: frost | fields: ts, unit, reading, value\nTask: Get value from drought_index where depth appears in frost readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003218", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: ts, lon, depth, level\n Sensor: dew_point | fields: type, unit, reading, qc\nTask: Retrieve lat from lightning with depth above the AVG(reading) of dew_point readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"dew_point\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003219", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: ts, lon, reading, unit\n Sensor: air_quality | fields: unit, depth, value, qc\nTask: Get value from lightning where a corresponding entry exists in air_quality with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "value", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003220", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: type, lat, reading, unit\n Sensor: humidity | fields: reading, ts, lat, unit\nTask: Retrieve depth from drought_index that have at least one matching reading in humidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003221", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: ts, qc, lon, depth\n Sensor: rainfall | fields: qc, level, type, lat\nTask: Retrieve lat from wind_speed with value above the MIN(value) of rainfall readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"rainfall\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003222", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: type, unit, ts, qc\n Sensor: turbidity | fields: ts, reading, level, value\nTask: Get level from temperature where a corresponding entry exists in turbidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003223", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: depth, ts, value, level\n Sensor: wind_speed | fields: lat, ts, lon, qc\nTask: Get value from drought_index where ts appears in wind_speed readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003224", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: type, depth, value, reading\n Sensor: air_quality | fields: ts, reading, level, lat\nTask: Fetch lon from drought_index that have at least one corresponding air_quality measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003225", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: lon, value, reading, unit\n Sensor: soil_moisture | fields: lon, value, level, reading\nTask: Fetch reading from visibility where depth exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003226", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: reading, depth, level, type\n Sensor: snow_depth | fields: depth, ts, value, lon\nTask: Fetch lon from lightning that have at least one corresponding snow_depth measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003227", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: level, ts, qc, lon\n Sensor: sunlight | fields: lon, lat, ts, depth\nTask: Get level from frost where a corresponding entry exists in sunlight with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003228", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: lon, level, lat, qc\n Sensor: evaporation | fields: unit, depth, lat, level\nTask: Get lat from drought_index where a corresponding entry exists in evaporation with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003229", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: qc, value, unit, ts\n Sensor: dew_point | fields: reading, value, unit, depth\nTask: Retrieve lon from drought_index whose qc is found in dew_point records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003230", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: lat, value, lon, ts\n Sensor: drought_index | fields: depth, reading, qc, type\nTask: Fetch reading from frost that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003231", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: depth, reading, level, lon\n Sensor: lightning | fields: ts, level, qc, lat\nTask: Get lon from uv_index where a corresponding entry exists in lightning with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lon", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003232", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: reading, ts, depth, lon\n Sensor: lightning | fields: value, ts, lat, lon\nTask: Retrieve reading from rainfall that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003233", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: reading, type, value, level\n Sensor: turbidity | fields: value, lon, lat, type\nTask: Retrieve lon from air_quality whose ts is found in turbidity records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003234", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: lat, depth, lon, value\n Sensor: air_quality | fields: level, lon, depth, type\nTask: Fetch level from temperature where qc exists in air_quality sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003235", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: qc, type, reading, lat\n Sensor: rainfall | fields: unit, lat, depth, reading\nTask: Retrieve level from air_quality with depth above the SUM(depth) of rainfall readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"rainfall\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003236", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: type, lon, level, depth\n Sensor: soil_moisture | fields: qc, type, level, lon\nTask: Fetch level from pressure that have at least one corresponding soil_moisture measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "level", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003237", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: lat, unit, ts, reading\n Sensor: dew_point | fields: lat, type, unit, lon\nTask: Retrieve lon from uv_index that have at least one matching reading in dew_point sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003238", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: ts, depth, lon, unit\n Sensor: rainfall | fields: reading, unit, value, level\nTask: Get level from temperature where depth appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003239", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: ts, type, reading, depth\n Sensor: air_quality | fields: lon, unit, value, type\nTask: Retrieve level from lightning with value above the AVG(value) of air_quality readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003240", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: value, reading, ts, level\n Sensor: temperature | fields: type, lon, value, unit\nTask: Retrieve lat from air_quality that have at least one matching reading in temperature sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lat", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003241", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: unit, lat, value, depth\n Sensor: temperature | fields: ts, depth, type, qc\nTask: Get value from visibility where reading exceeds the average depth from temperature for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"temperature\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003242", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: lat, unit, reading, lon\n Sensor: visibility | fields: ts, lon, type, level\nTask: Retrieve reading from uv_index whose depth is found in visibility records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003243", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: value, unit, depth, lon\n Sensor: pressure | fields: ts, type, qc, lat\nTask: Retrieve value from air_quality that have at least one matching reading in pressure sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "value", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003244", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: lon, unit, qc, ts\n Sensor: soil_moisture | fields: level, ts, type, qc\nTask: Get depth from frost where ts appears in soil_moisture readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003245", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lat, level, type, depth\n Sensor: rainfall | fields: ts, depth, lat, unit\nTask: Retrieve lat from dew_point with reading above the AVG(depth) of rainfall readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"rainfall\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003246", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: ts, level, reading, type\n Sensor: cloud_cover | fields: lat, depth, qc, unit\nTask: Fetch value from uv_index that have at least one corresponding cloud_cover measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003247", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: ts, lat, level, reading\n Sensor: snow_depth | fields: lon, unit, depth, type\nTask: Fetch lat from sunlight where value is greater than the count of of depth in snow_depth for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"snow_depth\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003248", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lon, level, unit, qc\n Sensor: wind_speed | fields: lat, reading, level, lon\nTask: Retrieve lon from temperature whose unit is found in wind_speed records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003249", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: type, lat, level, ts\n Sensor: dew_point | fields: qc, depth, reading, ts\nTask: Retrieve level from turbidity that have at least one matching reading in dew_point sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003250", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: value, type, qc, depth\n Sensor: wind_speed | fields: level, value, lat, type\nTask: Get lon from turbidity where a corresponding entry exists in wind_speed with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003251", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: level, lat, unit, depth\n Sensor: wind_speed | fields: reading, lon, qc, level\nTask: Retrieve value from soil_moisture that have at least one matching reading in wind_speed sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003252", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: unit, value, lon, level\n Sensor: drought_index | fields: depth, lon, lat, value\nTask: Retrieve lon from lightning with depth above the AVG(value) of drought_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"drought_index\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003253", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: value, level, ts, type\n Sensor: snow_depth | fields: lon, qc, depth, reading\nTask: Retrieve reading from uv_index with reading above the COUNT(value) of snow_depth readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"snow_depth\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003254", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: qc, type, ts, lat\n Sensor: cloud_cover | fields: value, qc, ts, reading\nTask: Retrieve lat from turbidity with value above the AVG(depth) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003255", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: depth, lat, reading, qc\n Sensor: soil_moisture | fields: unit, depth, level, type\nTask: Retrieve lat from frost whose depth is found in soil_moisture records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003256", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: value, ts, type, reading\n Sensor: air_quality | fields: value, type, depth, qc\nTask: Get level from cloud_cover where a corresponding entry exists in air_quality with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "level", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003257", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: unit, lon, qc, value\n Sensor: visibility | fields: lat, lon, reading, depth\nTask: Fetch lat from evaporation where ts exists in visibility sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003258", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: lon, reading, qc, type\n Sensor: sunlight | fields: unit, type, depth, lat\nTask: Retrieve lon from uv_index whose depth is found in sunlight records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003259", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: type, level, lat, unit\n Sensor: snow_depth | fields: unit, reading, ts, value\nTask: Retrieve value from lightning with reading above the MIN(reading) of snow_depth readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"snow_depth\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003260", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: type, reading, unit, lon\n Sensor: rainfall | fields: depth, unit, qc, lon\nTask: Retrieve value from temperature that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003261", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: ts, depth, unit, type\n Sensor: sunlight | fields: level, ts, qc, depth\nTask: Fetch value from pressure that have at least one corresponding sunlight measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003262", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: level, lon, type, unit\n Sensor: frost | fields: qc, lon, type, ts\nTask: Fetch lon from air_quality that have at least one corresponding frost measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003263", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: type, lat, level, reading\n Sensor: uv_index | fields: unit, type, qc, depth\nTask: Fetch depth from air_quality that have at least one corresponding uv_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003264", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: lon, type, qc, depth\n Sensor: snow_depth | fields: value, reading, qc, unit\nTask: Get reading from cloud_cover where a corresponding entry exists in snow_depth with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003265", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: unit, lon, depth, level\n Sensor: drought_index | fields: value, depth, ts, lat\nTask: Get depth from visibility where qc appears in drought_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003266", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: lat, ts, reading, qc\n Sensor: sunlight | fields: lat, lon, reading, ts\nTask: Retrieve level from lightning with depth above the AVG(value) of sunlight readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"sunlight\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003267", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: type, value, depth, qc\n Sensor: rainfall | fields: unit, reading, lon, depth\nTask: Retrieve lat from humidity with value above the MIN(value) of rainfall readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"rainfall\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003268", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: qc, ts, lat, value\n Sensor: lightning | fields: ts, depth, type, lat\nTask: Fetch depth from wind_speed that have at least one corresponding lightning measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003269", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: reading, lon, depth, ts\n Sensor: pressure | fields: lon, ts, value, reading\nTask: Retrieve depth from wind_speed whose qc is found in pressure records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003270", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: unit, level, depth, lon\n Sensor: drought_index | fields: lon, depth, ts, qc\nTask: Get value from turbidity where a corresponding entry exists in drought_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003271", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: qc, value, unit, ts\n Sensor: lightning | fields: type, lon, level, lat\nTask: Fetch value from visibility where value is greater than the minimum of depth in lightning for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"lightning\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003272", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: type, reading, qc, unit\n Sensor: wind_speed | fields: lon, ts, value, unit\nTask: Retrieve lat from rainfall that have at least one matching reading in wind_speed sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003273", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: depth, unit, lon, type\n Sensor: visibility | fields: value, type, ts, unit\nTask: Get depth from evaporation where type appears in visibility readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003274", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: level, type, unit, lat\n Sensor: cloud_cover | fields: depth, type, level, ts\nTask: Retrieve depth from air_quality whose qc is found in cloud_cover records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003275", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: type, depth, value, lon\n Sensor: evaporation | fields: lat, lon, unit, ts\nTask: Get lat from frost where unit appears in evaporation readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003276", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: level, lon, type, depth\n Sensor: evaporation | fields: depth, lon, qc, type\nTask: Get level from visibility where reading exceeds the average value from evaporation for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"evaporation\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003277", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: ts, unit, level, reading\n Sensor: sunlight | fields: unit, level, lon, reading\nTask: Get level from air_quality where a corresponding entry exists in sunlight with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "level", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003278", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: unit, qc, level, reading\n Sensor: snow_depth | fields: level, qc, unit, value\nTask: Retrieve depth from evaporation whose depth is found in snow_depth records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003279", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: depth, lon, type, value\n Sensor: lightning | fields: depth, qc, value, level\nTask: Retrieve depth from uv_index whose qc is found in lightning records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003280", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: type, lat, lon, depth\n Sensor: evaporation | fields: depth, reading, lat, level\nTask: Fetch level from soil_moisture that have at least one corresponding evaporation measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "level", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003281", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: lat, depth, reading, ts\n Sensor: visibility | fields: value, qc, level, lat\nTask: Get lon from drought_index where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003282", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lat, unit, ts, reading\n Sensor: dew_point | fields: unit, type, level, qc\nTask: Fetch depth from turbidity where qc exists in dew_point sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003283", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: type, unit, depth, level\n Sensor: turbidity | fields: type, depth, value, reading\nTask: Fetch lon from evaporation where qc exists in turbidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003284", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: lon, type, level, reading\n Sensor: lightning | fields: depth, qc, reading, level\nTask: Fetch level from snow_depth where unit exists in lightning sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003285", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: qc, value, lon, lat\n Sensor: pressure | fields: depth, reading, type, level\nTask: Fetch level from wind_speed where depth is greater than the minimum of reading in pressure for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"pressure\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003286", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: depth, level, lon, reading\n Sensor: turbidity | fields: type, reading, unit, depth\nTask: Fetch level from uv_index where unit exists in turbidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003287", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: level, value, type, unit\n Sensor: drought_index | fields: level, unit, type, qc\nTask: Retrieve value from evaporation with reading above the MAX(value) of drought_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"drought_index\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003288", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: lat, depth, lon, unit\n Sensor: air_quality | fields: level, lon, ts, reading\nTask: Retrieve reading from visibility with depth above the MAX(value) of air_quality readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"air_quality\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003289", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: type, lon, value, depth\n Sensor: wind_speed | fields: lon, ts, value, level\nTask: Retrieve lon from evaporation with reading above the AVG(value) of wind_speed readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"wind_speed\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003290", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: reading, qc, value, ts\n Sensor: air_quality | fields: qc, type, lon, reading\nTask: Fetch reading from drought_index that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003291", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: depth, lon, lat, unit\n Sensor: drought_index | fields: unit, type, value, qc\nTask: Fetch lat from visibility where reading is greater than the maximum of reading in drought_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"drought_index\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003292", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: lat, unit, reading, type\n Sensor: snow_depth | fields: depth, level, qc, reading\nTask: Retrieve depth from visibility whose ts is found in snow_depth records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003293", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: qc, depth, unit, reading\n Sensor: air_quality | fields: value, type, level, unit\nTask: Fetch lat from sunlight where type exists in air_quality sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003294", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lon, value, unit, ts\n Sensor: wind_speed | fields: unit, value, reading, lon\nTask: Fetch depth from humidity where reading is greater than the maximum of reading in wind_speed for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"wind_speed\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003295", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: type, level, qc, reading\n Sensor: wind_speed | fields: qc, lat, ts, reading\nTask: Retrieve level from drought_index whose unit is found in wind_speed records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003296", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: lon, ts, qc, type\n Sensor: air_quality | fields: lon, depth, value, reading\nTask: Get level from frost where depth exceeds the maximum value from air_quality for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003297", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: ts, qc, unit, type\n Sensor: lightning | fields: qc, lon, type, value\nTask: Fetch reading from wind_speed where ts exists in lightning sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003298", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: unit, ts, lat, reading\n Sensor: humidity | fields: ts, type, unit, value\nTask: Retrieve reading from cloud_cover with depth above the SUM(reading) of humidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"humidity\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003299", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: unit, lon, ts, reading\n Sensor: lightning | fields: type, level, lat, value\nTask: Get lon from soil_moisture where depth exceeds the count of reading from lightning for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"lightning\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003300", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: depth, unit, qc, level\n Sensor: drought_index | fields: reading, lat, value, ts\nTask: Get level from dew_point where ts appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003301", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: lon, reading, value, lat\n Sensor: pressure | fields: depth, type, value, qc\nTask: Retrieve level from frost with reading above the AVG(value) of pressure readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003302", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: type, unit, level, value\n Sensor: rainfall | fields: lat, value, qc, level\nTask: Fetch reading from soil_moisture where value is greater than the minimum of reading in rainfall for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"rainfall\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003303", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: qc, reading, depth, lon\n Sensor: snow_depth | fields: ts, qc, depth, lon\nTask: Fetch reading from dew_point where reading is greater than the minimum of reading in snow_depth for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"snow_depth\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003304", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lon, lat, ts, unit\n Sensor: visibility | fields: lon, type, value, ts\nTask: Retrieve reading from sunlight that have at least one matching reading in visibility sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003305", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lat, ts, type, lon\n Sensor: pressure | fields: lon, qc, reading, lat\nTask: Get level from soil_moisture where a corresponding entry exists in pressure with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003306", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: lon, lat, value, type\n Sensor: turbidity | fields: lat, qc, unit, depth\nTask: Fetch depth from soil_moisture where value is greater than the maximum of value in turbidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"turbidity\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003307", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lat, lon, ts, reading\n Sensor: uv_index | fields: type, reading, lon, depth\nTask: Get value from visibility where a corresponding entry exists in uv_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003308", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: level, type, lat, depth\n Sensor: humidity | fields: depth, reading, ts, level\nTask: Retrieve reading from soil_moisture with reading above the SUM(depth) of humidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003309", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lon, level, ts, depth\n Sensor: humidity | fields: value, ts, qc, lon\nTask: Fetch level from temperature where reading is greater than the count of of depth in humidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"humidity\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003310", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: unit, depth, qc, ts\n Sensor: sunlight | fields: level, reading, depth, lat\nTask: Fetch lat from lightning where depth is greater than the average of value in sunlight for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"sunlight\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003311", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lat, unit, type, reading\n Sensor: lightning | fields: value, type, level, unit\nTask: Fetch value from humidity that have at least one corresponding lightning measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003312", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: value, unit, lat, qc\n Sensor: uv_index | fields: qc, reading, unit, lat\nTask: Fetch reading from lightning where qc exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003313", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: qc, level, depth, reading\n Sensor: snow_depth | fields: value, lon, level, qc\nTask: Retrieve depth from turbidity with reading above the MAX(reading) of snow_depth readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003314", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: qc, type, unit, reading\n Sensor: drought_index | fields: qc, reading, value, type\nTask: Retrieve lon from rainfall that have at least one matching reading in drought_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lon", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003315", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: depth, ts, type, level\n Sensor: snow_depth | fields: unit, reading, type, level\nTask: Fetch depth from turbidity that have at least one corresponding snow_depth measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003316", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: reading, lon, depth, level\n Sensor: dew_point | fields: value, type, qc, reading\nTask: Get level from drought_index where type appears in dew_point readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003317", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: lat, qc, level, ts\n Sensor: evaporation | fields: lon, unit, ts, depth\nTask: Retrieve lon from uv_index with reading above the COUNT(value) of evaporation readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"evaporation\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003318", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: qc, reading, ts, level\n Sensor: drought_index | fields: type, value, lat, level\nTask: Fetch reading from temperature where depth is greater than the total of value in drought_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"drought_index\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003319", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: ts, lat, depth, reading\n Sensor: rainfall | fields: unit, lon, level, depth\nTask: Fetch lat from temperature where depth is greater than the total of value in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"rainfall\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003320", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: type, qc, lon, value\n Sensor: humidity | fields: unit, lon, lat, ts\nTask: Get lat from evaporation where value exceeds the count of depth from humidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"humidity\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003321", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: reading, unit, depth, qc\n Sensor: sunlight | fields: lat, level, depth, value\nTask: Retrieve lon from drought_index whose type is found in sunlight records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003322", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: type, value, reading, ts\n Sensor: drought_index | fields: ts, lat, level, value\nTask: Get level from air_quality where type appears in drought_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003323", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: qc, unit, type, level\n Sensor: uv_index | fields: lon, type, level, ts\nTask: Retrieve value from frost whose type is found in uv_index records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003324", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: lon, type, unit, level\n Sensor: snow_depth | fields: lon, qc, type, depth\nTask: Fetch value from visibility that have at least one corresponding snow_depth measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003325", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: type, lat, qc, depth\n Sensor: rainfall | fields: reading, lon, unit, lat\nTask: Retrieve lon from visibility with reading above the COUNT(depth) of rainfall readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"rainfall\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003326", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: lon, value, type, reading\n Sensor: uv_index | fields: qc, level, lat, ts\nTask: Retrieve lat from air_quality that have at least one matching reading in uv_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lat", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003327", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lat, unit, lon, ts\n Sensor: frost | fields: qc, unit, reading, lon\nTask: Retrieve depth from dew_point with value above the COUNT(depth) of frost readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"frost\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003328", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: lon, value, ts, type\n Sensor: drought_index | fields: value, qc, unit, lat\nTask: Get depth from cloud_cover where a corresponding entry exists in drought_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003329", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: unit, qc, depth, ts\n Sensor: rainfall | fields: type, depth, qc, lon\nTask: Fetch depth from visibility that have at least one corresponding rainfall measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003330", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: qc, lon, ts, type\n Sensor: evaporation | fields: lat, qc, level, value\nTask: Fetch value from turbidity where depth exists in evaporation sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003331", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: unit, ts, reading, depth\n Sensor: soil_moisture | fields: lat, level, lon, value\nTask: Get level from sunlight where type appears in soil_moisture readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003332", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: ts, lon, depth, type\n Sensor: sunlight | fields: reading, unit, ts, value\nTask: Fetch depth from pressure where ts exists in sunlight sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003333", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: depth, reading, type, lat\n Sensor: turbidity | fields: value, type, unit, lat\nTask: Retrieve reading from snow_depth with reading above the SUM(depth) of turbidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"turbidity\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003334", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: level, type, value, qc\n Sensor: drought_index | fields: lat, ts, reading, level\nTask: Get lon from snow_depth where type appears in drought_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003335", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: reading, value, ts, lon\n Sensor: wind_speed | fields: ts, level, depth, lat\nTask: Get depth from turbidity where a corresponding entry exists in wind_speed with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003336", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: ts, reading, level, lat\n Sensor: air_quality | fields: depth, reading, type, level\nTask: Retrieve depth from turbidity that have at least one matching reading in air_quality sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003337", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: type, qc, level, depth\n Sensor: lightning | fields: unit, level, lat, type\nTask: Fetch reading from soil_moisture where qc exists in lightning sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003338", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: reading, value, level, qc\n Sensor: frost | fields: reading, value, ts, depth\nTask: Get lat from temperature where type appears in frost readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003339", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: type, reading, value, level\n Sensor: drought_index | fields: type, lat, depth, reading\nTask: Retrieve level from sunlight with depth above the COUNT(depth) of drought_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003340", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: qc, ts, lat, depth\n Sensor: evaporation | fields: value, depth, type, level\nTask: Fetch value from frost that have at least one corresponding evaporation measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003341", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: value, qc, ts, level\n Sensor: humidity | fields: depth, lat, reading, qc\nTask: Fetch value from evaporation where value is greater than the average of depth in humidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"humidity\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003342", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: type, level, depth, lat\n Sensor: pressure | fields: qc, value, ts, unit\nTask: Retrieve lat from temperature whose qc is found in pressure records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003343", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: qc, type, value, level\n Sensor: snow_depth | fields: qc, type, lat, lon\nTask: Fetch lon from rainfall that have at least one corresponding snow_depth measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lon", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003344", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: unit, ts, depth, lon\n Sensor: cloud_cover | fields: level, value, unit, depth\nTask: Retrieve reading from visibility with value above the AVG(reading) of cloud_cover readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003345", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: unit, ts, reading, qc\n Sensor: uv_index | fields: ts, depth, lon, unit\nTask: Retrieve level from air_quality with reading above the MIN(reading) of uv_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003346", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: reading, unit, qc, lat\n Sensor: drought_index | fields: value, depth, qc, type\nTask: Fetch level from pressure that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "level", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003347", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: qc, level, unit, lat\n Sensor: sunlight | fields: lat, reading, level, ts\nTask: Retrieve depth from dew_point whose depth is found in sunlight records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003348", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: depth, qc, ts, type\n Sensor: frost | fields: qc, reading, ts, depth\nTask: Retrieve lon from cloud_cover that have at least one matching reading in frost sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lon", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003349", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: value, depth, unit, ts\n Sensor: wind_speed | fields: lon, qc, value, lat\nTask: Fetch depth from air_quality that have at least one corresponding wind_speed measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003350", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: qc, type, unit, reading\n Sensor: uv_index | fields: unit, lat, value, ts\nTask: Get value from soil_moisture where value exceeds the count of value from uv_index for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"uv_index\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003351", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: depth, type, level, lat\n Sensor: uv_index | fields: reading, lon, level, qc\nTask: Get value from rainfall where value exceeds the count of reading from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"uv_index\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003352", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: value, qc, unit, depth\n Sensor: visibility | fields: depth, qc, level, ts\nTask: Fetch lat from snow_depth that have at least one corresponding visibility measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lat", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003353", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: unit, qc, lon, ts\n Sensor: dew_point | fields: depth, qc, level, lon\nTask: Fetch depth from lightning where reading is greater than the maximum of value in dew_point for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003354", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: unit, value, ts, reading\n Sensor: dew_point | fields: lon, reading, ts, qc\nTask: Retrieve depth from drought_index with reading above the MAX(value) of dew_point readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003355", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: value, type, reading, lat\n Sensor: wind_speed | fields: type, unit, ts, level\nTask: Fetch value from visibility where value is greater than the count of of depth in wind_speed for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"wind_speed\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003356", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: depth, level, unit, lat\n Sensor: snow_depth | fields: depth, qc, type, value\nTask: Get lon from temperature where qc appears in snow_depth readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003357", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: level, depth, lat, reading\n Sensor: wind_speed | fields: lon, qc, depth, value\nTask: Get value from visibility where a corresponding entry exists in wind_speed with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003358", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lon, unit, qc, ts\n Sensor: visibility | fields: unit, type, lat, reading\nTask: Retrieve level from dew_point that have at least one matching reading in visibility sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "level", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003359", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: value, lat, qc, level\n Sensor: visibility | fields: depth, reading, value, unit\nTask: Get value from pressure where a corresponding entry exists in visibility with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "value", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003360", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lat, level, qc, depth\n Sensor: cloud_cover | fields: ts, qc, unit, value\nTask: Fetch value from humidity that have at least one corresponding cloud_cover measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "value", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003361", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: qc, depth, lon, lat\n Sensor: wind_speed | fields: lat, reading, depth, type\nTask: Retrieve value from uv_index that have at least one matching reading in wind_speed sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "value", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003362", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: lat, value, type, unit\n Sensor: uv_index | fields: reading, type, value, level\nTask: Retrieve level from snow_depth whose depth is found in uv_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003363", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: level, type, reading, value\n Sensor: uv_index | fields: lon, lat, qc, value\nTask: Retrieve lat from soil_moisture with depth above the MAX(depth) of uv_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"uv_index\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003364", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: qc, reading, lat, lon\n Sensor: visibility | fields: depth, level, lon, qc\nTask: Fetch lon from drought_index where depth exists in visibility sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003365", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: ts, value, depth, level\n Sensor: temperature | fields: ts, type, reading, value\nTask: Get lat from visibility where a corresponding entry exists in temperature with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003366", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: reading, unit, qc, type\n Sensor: cloud_cover | fields: ts, lat, level, unit\nTask: Retrieve lat from pressure whose qc is found in cloud_cover records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003367", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: reading, value, lat, lon\n Sensor: humidity | fields: level, lat, qc, depth\nTask: Fetch lat from wind_speed that have at least one corresponding humidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003368", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: value, unit, qc, depth\n Sensor: wind_speed | fields: unit, lat, reading, value\nTask: Retrieve level from evaporation with value above the SUM(depth) of wind_speed readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"wind_speed\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003369", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: type, depth, lon, value\n Sensor: uv_index | fields: level, qc, value, ts\nTask: Fetch level from dew_point where reading is greater than the total of value in uv_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"uv_index\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003370", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: value, lon, unit, depth\n Sensor: sunlight | fields: type, level, qc, lat\nTask: Get level from pressure where ts appears in sunlight readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003371", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: unit, reading, level, lat\n Sensor: cloud_cover | fields: level, type, lat, depth\nTask: Fetch value from drought_index that have at least one corresponding cloud_cover measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "value", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003372", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: unit, qc, depth, type\n Sensor: rainfall | fields: lat, unit, reading, level\nTask: Retrieve lat from evaporation with reading above the COUNT(value) of rainfall readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"rainfall\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003373", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: value, lon, level, depth\n Sensor: wind_speed | fields: qc, lat, lon, unit\nTask: Get reading from snow_depth where reading exceeds the total value from wind_speed for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003374", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: depth, type, ts, value\n Sensor: temperature | fields: value, type, unit, ts\nTask: Fetch value from dew_point that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "value", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003375", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lat, value, depth, lon\n Sensor: dew_point | fields: unit, qc, reading, value\nTask: Retrieve reading from cloud_cover that have at least one matching reading in dew_point sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003376", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: depth, qc, unit, value\n Sensor: drought_index | fields: unit, qc, value, ts\nTask: Retrieve level from rainfall with depth above the MAX(value) of drought_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"drought_index\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003377", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: value, qc, lon, type\n Sensor: pressure | fields: lon, depth, qc, unit\nTask: Get lon from evaporation where unit appears in pressure readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003378", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: lat, lon, type, reading\n Sensor: frost | fields: level, depth, qc, value\nTask: Retrieve lon from dew_point with reading above the MIN(depth) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003379", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: type, depth, level, reading\n Sensor: air_quality | fields: qc, type, lat, unit\nTask: Retrieve reading from snow_depth with depth above the SUM(value) of air_quality readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"air_quality\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003380", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: ts, value, reading, qc\n Sensor: pressure | fields: level, reading, ts, lat\nTask: Retrieve lat from soil_moisture whose unit is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003381", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: type, unit, lat, level\n Sensor: snow_depth | fields: level, type, qc, lon\nTask: Get level from humidity where type appears in snow_depth readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003382", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: level, qc, unit, value\n Sensor: soil_moisture | fields: value, qc, lat, ts\nTask: Retrieve level from rainfall whose qc is found in soil_moisture records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003383", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: value, ts, unit, level\n Sensor: visibility | fields: qc, unit, lat, depth\nTask: Get value from humidity where a corresponding entry exists in visibility with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003384", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: ts, level, value, lon\n Sensor: frost | fields: lat, lon, ts, unit\nTask: Retrieve lat from wind_speed that have at least one matching reading in frost sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003385", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lon, depth, type, reading\n Sensor: soil_moisture | fields: lon, level, unit, value\nTask: Get level from snow_depth where value exceeds the average value from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"soil_moisture\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003386", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: reading, ts, qc, depth\n Sensor: cloud_cover | fields: value, type, lat, qc\nTask: Get value from evaporation where type appears in cloud_cover readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003387", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: qc, depth, ts, value\n Sensor: humidity | fields: depth, lon, level, lat\nTask: Fetch depth from air_quality that have at least one corresponding humidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003388", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: lon, lat, type, unit\n Sensor: snow_depth | fields: depth, lon, ts, value\nTask: Retrieve reading from evaporation with value above the AVG(depth) of snow_depth readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003389", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: qc, type, depth, lon\n Sensor: uv_index | fields: lon, value, reading, type\nTask: Get depth from drought_index where depth exceeds the minimum reading from uv_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003390", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: qc, value, unit, reading\n Sensor: sunlight | fields: level, depth, lat, reading\nTask: Retrieve reading from air_quality with value above the COUNT(value) of sunlight readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"sunlight\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003391", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: depth, unit, ts, value\n Sensor: pressure | fields: lon, reading, lat, type\nTask: Get lat from evaporation where unit appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003392", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: depth, reading, value, ts\n Sensor: humidity | fields: level, lon, reading, ts\nTask: Fetch lat from dew_point where ts exists in humidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003393", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: value, type, reading, level\n Sensor: uv_index | fields: type, level, lat, depth\nTask: Retrieve lon from dew_point whose unit is found in uv_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003394", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: type, reading, level, lat\n Sensor: pressure | fields: type, qc, ts, lon\nTask: Retrieve level from evaporation that have at least one matching reading in pressure sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "level", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003395", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: lat, type, reading, level\n Sensor: turbidity | fields: reading, value, ts, qc\nTask: Get value from uv_index where depth exceeds the average reading from turbidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"turbidity\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003396", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lon, qc, ts, lat\n Sensor: wind_speed | fields: lon, depth, type, value\nTask: Fetch lat from turbidity that have at least one corresponding wind_speed measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003397", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lon, depth, reading, lat\n Sensor: rainfall | fields: lon, level, unit, depth\nTask: Retrieve value from dew_point whose unit is found in rainfall records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003398", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: depth, lat, type, reading\n Sensor: rainfall | fields: lon, unit, value, depth\nTask: Get depth from snow_depth where depth exceeds the total reading from rainfall for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"rainfall\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003399", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: level, lon, type, reading\n Sensor: cloud_cover | fields: value, level, lat, qc\nTask: Get lon from uv_index where reading exceeds the minimum value from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"cloud_cover\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003400", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: level, ts, unit, qc\n Sensor: visibility | fields: reading, lat, level, value\nTask: Retrieve value from sunlight that have at least one matching reading in visibility sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "value", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003401", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: unit, depth, lat, type\n Sensor: sunlight | fields: qc, value, unit, lon\nTask: Get value from snow_depth where type appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003402", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: type, depth, qc, value\n Sensor: turbidity | fields: level, unit, value, lon\nTask: Get reading from temperature where reading exceeds the average reading from turbidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"turbidity\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003403", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: reading, value, lon, unit\n Sensor: humidity | fields: level, ts, unit, qc\nTask: Fetch lon from visibility where depth exists in humidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003404", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: level, reading, ts, qc\n Sensor: temperature | fields: ts, reading, unit, lat\nTask: Get lat from air_quality where unit appears in temperature readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003405", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: level, lon, qc, type\n Sensor: wind_speed | fields: lon, qc, lat, unit\nTask: Get lat from lightning where a corresponding entry exists in wind_speed with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003406", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: type, lat, level, lon\n Sensor: uv_index | fields: lon, qc, reading, unit\nTask: Get depth from wind_speed where a corresponding entry exists in uv_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003407", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: qc, ts, depth, reading\n Sensor: turbidity | fields: lon, level, reading, depth\nTask: Retrieve reading from pressure with reading above the AVG(value) of turbidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"turbidity\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003408", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: lon, value, lat, reading\n Sensor: frost | fields: type, lat, level, depth\nTask: Retrieve value from evaporation that have at least one matching reading in frost sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003409", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: unit, depth, qc, type\n Sensor: cloud_cover | fields: reading, unit, depth, qc\nTask: Get lat from turbidity where reading exceeds the maximum value from cloud_cover for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"cloud_cover\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003410", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: depth, lat, lon, type\n Sensor: pressure | fields: lon, unit, type, level\nTask: Retrieve value from turbidity that have at least one matching reading in pressure sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003411", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: qc, unit, lat, ts\n Sensor: visibility | fields: ts, value, qc, level\nTask: Get lon from air_quality where unit appears in visibility readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003412", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: level, lon, ts, type\n Sensor: wind_speed | fields: depth, lon, value, lat\nTask: Fetch lat from evaporation that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lat", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003413", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: ts, reading, value, unit\n Sensor: frost | fields: value, ts, depth, qc\nTask: Fetch level from humidity where value is greater than the average of depth in frost for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"frost\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003414", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: level, qc, lat, unit\n Sensor: turbidity | fields: level, value, ts, lat\nTask: Fetch reading from sunlight where qc exists in turbidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003415", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: unit, lon, value, level\n Sensor: visibility | fields: unit, qc, value, type\nTask: Get lon from air_quality where value exceeds the total depth from visibility for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"visibility\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003416", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: type, value, lon, depth\n Sensor: humidity | fields: lat, depth, level, type\nTask: Retrieve reading from wind_speed that have at least one matching reading in humidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003417", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: reading, lat, depth, value\n Sensor: air_quality | fields: qc, reading, value, lat\nTask: Get lon from uv_index where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003418", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: ts, qc, depth, lon\n Sensor: lightning | fields: unit, type, value, reading\nTask: Retrieve lon from temperature whose unit is found in lightning records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003419", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: lat, level, value, ts\n Sensor: drought_index | fields: ts, type, depth, lon\nTask: Fetch lon from evaporation where qc exists in drought_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003420", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: lat, unit, type, reading\n Sensor: pressure | fields: value, ts, type, qc\nTask: Get lon from snow_depth where a corresponding entry exists in pressure with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003421", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: depth, unit, lon, level\n Sensor: sunlight | fields: depth, value, lon, lat\nTask: Retrieve lon from frost whose type is found in sunlight records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003422", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: reading, depth, lon, qc\n Sensor: rainfall | fields: reading, lat, type, unit\nTask: Fetch value from uv_index where ts exists in rainfall sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003423", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: type, ts, lat, level\n Sensor: frost | fields: lon, reading, level, type\nTask: Get depth from wind_speed where unit appears in frost readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003424", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: unit, type, lon, value\n Sensor: evaporation | fields: level, depth, value, reading\nTask: Get value from lightning where value exceeds the total value from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"evaporation\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003425", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: level, type, value, lon\n Sensor: air_quality | fields: value, level, type, unit\nTask: Fetch reading from dew_point that have at least one corresponding air_quality measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "reading", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003426", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lat, level, type, unit\n Sensor: air_quality | fields: ts, lat, value, level\nTask: Retrieve level from soil_moisture whose qc is found in air_quality records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003427", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: qc, type, lat, ts\n Sensor: snow_depth | fields: type, depth, reading, lat\nTask: Retrieve value from evaporation whose unit is found in snow_depth records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003428", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: reading, lon, depth, ts\n Sensor: soil_moisture | fields: depth, qc, lat, value\nTask: Retrieve value from snow_depth whose type is found in soil_moisture records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003429", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: ts, qc, level, reading\n Sensor: sunlight | fields: reading, depth, ts, lat\nTask: Get lon from evaporation where a corresponding entry exists in sunlight with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003430", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: lon, qc, ts, depth\n Sensor: soil_moisture | fields: lon, depth, qc, lat\nTask: Retrieve value from dew_point whose ts is found in soil_moisture records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003431", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: depth, qc, type, lon\n Sensor: pressure | fields: value, lat, depth, type\nTask: Fetch lon from frost where type exists in pressure sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003432", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: lat, type, level, ts\n Sensor: turbidity | fields: reading, lat, type, level\nTask: Retrieve level from wind_speed with depth above the MAX(value) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"turbidity\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003433", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: lon, value, lat, reading\n Sensor: soil_moisture | fields: value, lon, unit, ts\nTask: Retrieve level from pressure with reading above the SUM(depth) of soil_moisture readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003434", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: lon, type, qc, level\n Sensor: rainfall | fields: depth, value, qc, unit\nTask: Fetch lat from sunlight where qc exists in rainfall sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003435", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: qc, depth, ts, lat\n Sensor: air_quality | fields: level, ts, lat, depth\nTask: Get depth from turbidity where a corresponding entry exists in air_quality with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003436", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: level, qc, type, reading\n Sensor: drought_index | fields: reading, value, lon, type\nTask: Get lat from soil_moisture where type appears in drought_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003437", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: reading, depth, value, lat\n Sensor: snow_depth | fields: reading, depth, level, qc\nTask: Retrieve value from wind_speed that have at least one matching reading in snow_depth sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003438", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: reading, level, ts, lat\n Sensor: humidity | fields: lat, ts, value, unit\nTask: Retrieve depth from snow_depth whose qc is found in humidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003439", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: reading, qc, unit, ts\n Sensor: air_quality | fields: unit, level, lon, qc\nTask: Get lon from temperature where unit appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003440", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: ts, level, qc, lon\n Sensor: air_quality | fields: type, ts, level, unit\nTask: Get reading from soil_moisture where type appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003441", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: reading, type, lon, value\n Sensor: rainfall | fields: lon, level, value, ts\nTask: Retrieve level from turbidity with depth above the AVG(value) of rainfall readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"rainfall\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003442", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: reading, qc, level, lat\n Sensor: soil_moisture | fields: type, ts, reading, lat\nTask: Get value from humidity where type appears in soil_moisture readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003443", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lat, depth, unit, qc\n Sensor: wind_speed | fields: value, qc, level, unit\nTask: Retrieve level from humidity whose qc is found in wind_speed records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003444", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: unit, lon, reading, lat\n Sensor: dew_point | fields: level, qc, reading, value\nTask: Get depth from visibility where reading exceeds the average reading from dew_point for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"dew_point\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003445", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: reading, level, ts, depth\n Sensor: temperature | fields: value, type, ts, lon\nTask: Fetch level from soil_moisture where value is greater than the minimum of reading in temperature for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"temperature\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003446", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: ts, unit, depth, type\n Sensor: snow_depth | fields: depth, lon, level, lat\nTask: Retrieve lat from humidity with value above the AVG(value) of snow_depth readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"snow_depth\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003447", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: reading, lon, depth, value\n Sensor: snow_depth | fields: ts, value, qc, depth\nTask: Fetch reading from soil_moisture where value is greater than the minimum of depth in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"snow_depth\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003448", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: reading, ts, type, lon\n Sensor: soil_moisture | fields: depth, reading, qc, level\nTask: Fetch level from cloud_cover where depth exists in soil_moisture sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003449", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: reading, lon, lat, value\n Sensor: pressure | fields: lon, level, depth, ts\nTask: Fetch lat from temperature where value is greater than the maximum of value in pressure for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"pressure\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003450", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: lon, level, depth, value\n Sensor: pressure | fields: depth, reading, qc, value\nTask: Get lat from dew_point where reading exceeds the maximum reading from pressure for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"pressure\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003451", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: qc, ts, reading, type\n Sensor: snow_depth | fields: lon, level, depth, value\nTask: Retrieve value from sunlight with depth above the AVG(reading) of snow_depth readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"snow_depth\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003452", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: reading, lat, ts, level\n Sensor: uv_index | fields: lon, unit, level, qc\nTask: Get level from rainfall where reading exceeds the average reading from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"uv_index\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003453", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: lon, type, lat, level\n Sensor: rainfall | fields: qc, value, reading, type\nTask: Fetch level from cloud_cover where unit exists in rainfall sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "level", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003454", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lon, unit, reading, lat\n Sensor: lightning | fields: type, lon, reading, value\nTask: Get reading from soil_moisture where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "reading", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003455", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: value, level, depth, qc\n Sensor: rainfall | fields: value, ts, type, lat\nTask: Get lon from lightning where a corresponding entry exists in rainfall with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003456", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lat, value, type, depth\n Sensor: dew_point | fields: ts, qc, lon, unit\nTask: Get level from visibility where depth appears in dew_point readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003457", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: ts, unit, value, type\n Sensor: drought_index | fields: value, qc, reading, unit\nTask: Fetch level from uv_index where depth exists in drought_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003458", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: type, depth, unit, level\n Sensor: pressure | fields: qc, depth, reading, unit\nTask: Retrieve depth from air_quality whose type is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003459", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: reading, lat, level, depth\n Sensor: soil_moisture | fields: ts, level, lat, reading\nTask: Get lat from drought_index where depth appears in soil_moisture readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003460", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: reading, qc, depth, unit\n Sensor: wind_speed | fields: reading, lon, qc, type\nTask: Retrieve reading from pressure that have at least one matching reading in wind_speed sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003461", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: qc, reading, unit, value\n Sensor: cloud_cover | fields: ts, reading, type, level\nTask: Fetch reading from wind_speed where depth is greater than the average of depth in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003462", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: type, level, qc, value\n Sensor: evaporation | fields: unit, level, ts, type\nTask: Fetch value from uv_index where reading is greater than the count of of reading in evaporation for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"evaporation\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003463", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: level, value, lat, ts\n Sensor: humidity | fields: ts, qc, reading, level\nTask: Fetch reading from evaporation that have at least one corresponding humidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003464", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: reading, depth, type, value\n Sensor: sunlight | fields: lon, type, depth, value\nTask: Get lon from wind_speed where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003465", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lat, lon, unit, qc\n Sensor: uv_index | fields: qc, lon, unit, ts\nTask: Get value from drought_index where unit appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003466", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: value, unit, type, reading\n Sensor: pressure | fields: qc, value, type, level\nTask: Retrieve level from cloud_cover that have at least one matching reading in pressure sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003467", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: ts, unit, lat, reading\n Sensor: pressure | fields: reading, value, depth, lon\nTask: Fetch value from air_quality where reading is greater than the count of of reading in pressure for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"pressure\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003468", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lat, lon, reading, value\n Sensor: temperature | fields: ts, value, qc, depth\nTask: Get lon from rainfall where unit appears in temperature readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003469", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: type, reading, level, qc\n Sensor: dew_point | fields: lon, ts, qc, lat\nTask: Retrieve level from temperature that have at least one matching reading in dew_point sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "level", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003470", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: reading, ts, qc, type\n Sensor: soil_moisture | fields: type, qc, unit, ts\nTask: Get reading from lightning where a corresponding entry exists in soil_moisture with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "reading", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003471", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: type, qc, reading, lat\n Sensor: uv_index | fields: depth, ts, lon, reading\nTask: Fetch reading from turbidity where qc exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003472", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: type, lat, ts, lon\n Sensor: wind_speed | fields: qc, unit, depth, lon\nTask: Retrieve level from drought_index whose type is found in wind_speed records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003473", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: value, lat, unit, ts\n Sensor: sunlight | fields: qc, ts, unit, level\nTask: Retrieve value from snow_depth that have at least one matching reading in sunlight sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "value", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003474", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: depth, type, lon, ts\n Sensor: humidity | fields: depth, level, value, lat\nTask: Get value from wind_speed where value exceeds the average value from humidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"humidity\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003475", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: qc, ts, type, value\n Sensor: frost | fields: type, depth, lon, value\nTask: Fetch lat from humidity where qc exists in frost sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003476", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: lon, depth, value, type\n Sensor: frost | fields: level, reading, qc, type\nTask: Fetch depth from sunlight that have at least one corresponding frost measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003477", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: type, qc, lat, level\n Sensor: frost | fields: lat, type, value, reading\nTask: Fetch value from turbidity where reading is greater than the minimum of reading in frost for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"frost\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003478", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: depth, type, unit, lon\n Sensor: drought_index | fields: lat, value, lon, qc\nTask: Get depth from turbidity where ts appears in drought_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003479", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: unit, ts, reading, depth\n Sensor: soil_moisture | fields: lat, level, type, value\nTask: Retrieve lon from pressure that have at least one matching reading in soil_moisture sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003480", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: value, depth, qc, lon\n Sensor: frost | fields: value, lat, depth, type\nTask: Fetch lon from soil_moisture where reading is greater than the total of value in frost for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"frost\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003481", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: lat, lon, ts, value\n Sensor: evaporation | fields: reading, value, qc, lon\nTask: Get reading from humidity where a corresponding entry exists in evaporation with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003482", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lat, lon, unit, level\n Sensor: wind_speed | fields: ts, type, depth, reading\nTask: Get depth from pressure where a corresponding entry exists in wind_speed with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003483", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lon, reading, unit, level\n Sensor: visibility | fields: lat, type, unit, ts\nTask: Get lat from pressure where reading exceeds the total depth from visibility for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"visibility\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003484", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lat, ts, type, level\n Sensor: drought_index | fields: ts, lon, value, unit\nTask: Retrieve lon from air_quality whose ts is found in drought_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003485", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: level, lon, unit, type\n Sensor: lightning | fields: type, level, lat, value\nTask: Get value from uv_index where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003486", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: qc, ts, value, unit\n Sensor: air_quality | fields: type, qc, unit, ts\nTask: Get reading from uv_index where ts appears in air_quality readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003487", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: unit, value, lat, ts\n Sensor: dew_point | fields: value, depth, unit, level\nTask: Fetch lat from frost where unit exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003488", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: ts, lon, lat, qc\n Sensor: uv_index | fields: lon, reading, depth, unit\nTask: Retrieve value from pressure that have at least one matching reading in uv_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003489", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: type, value, ts, level\n Sensor: turbidity | fields: unit, depth, type, reading\nTask: Retrieve reading from sunlight with value above the MIN(value) of turbidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"turbidity\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003490", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: value, ts, type, level\n Sensor: evaporation | fields: reading, lat, level, type\nTask: Retrieve lon from snow_depth that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lon", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003491", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: reading, lon, level, type\n Sensor: visibility | fields: reading, qc, depth, type\nTask: Retrieve reading from air_quality with depth above the COUNT(depth) of visibility readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"visibility\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003492", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: qc, lon, unit, lat\n Sensor: humidity | fields: qc, value, level, reading\nTask: Retrieve depth from sunlight that have at least one matching reading in humidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003493", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: lat, depth, reading, value\n Sensor: evaporation | fields: unit, lon, type, reading\nTask: Retrieve value from snow_depth with reading above the MAX(reading) of evaporation readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"evaporation\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003494", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: ts, level, value, type\n Sensor: humidity | fields: type, ts, qc, lat\nTask: Get value from rainfall where value exceeds the average reading from humidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"humidity\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003495", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: value, qc, lon, level\n Sensor: uv_index | fields: lat, lon, value, qc\nTask: Fetch lat from humidity that have at least one corresponding uv_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003496", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: reading, unit, ts, type\n Sensor: uv_index | fields: value, level, qc, depth\nTask: Retrieve level from evaporation that have at least one matching reading in uv_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003497", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: unit, reading, qc, lat\n Sensor: cloud_cover | fields: qc, level, type, reading\nTask: Get lon from temperature where a corresponding entry exists in cloud_cover with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003498", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lat, type, unit, level\n Sensor: soil_moisture | fields: type, ts, lon, reading\nTask: Fetch level from pressure where value is greater than the count of of reading in soil_moisture for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003499", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: unit, type, reading, qc\n Sensor: dew_point | fields: depth, lat, lon, reading\nTask: Fetch lon from evaporation where depth is greater than the minimum of reading in dew_point for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"dew_point\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003500", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: depth, level, type, lon\n Sensor: humidity | fields: ts, level, lon, reading\nTask: Retrieve lat from soil_moisture whose type is found in humidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003501", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: ts, unit, depth, qc\n Sensor: cloud_cover | fields: qc, depth, ts, unit\nTask: Retrieve lon from frost that have at least one matching reading in cloud_cover sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003502", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: level, value, ts, depth\n Sensor: uv_index | fields: qc, lat, reading, unit\nTask: Get value from cloud_cover where type appears in uv_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003503", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: qc, ts, level, value\n Sensor: turbidity | fields: ts, level, depth, qc\nTask: Get depth from cloud_cover where a corresponding entry exists in turbidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003504", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: value, ts, reading, level\n Sensor: sunlight | fields: unit, reading, type, depth\nTask: Retrieve depth from uv_index that have at least one matching reading in sunlight sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003505", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: ts, lon, value, qc\n Sensor: soil_moisture | fields: type, unit, lon, ts\nTask: Fetch reading from frost where value is greater than the total of value in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003506", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: unit, qc, lat, lon\n Sensor: cloud_cover | fields: depth, ts, reading, qc\nTask: Get value from air_quality where unit appears in cloud_cover readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003507", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: level, qc, lon, unit\n Sensor: visibility | fields: value, ts, type, qc\nTask: Get value from frost where a corresponding entry exists in visibility with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003508", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: value, lat, unit, qc\n Sensor: soil_moisture | fields: depth, level, lon, type\nTask: Retrieve level from drought_index that have at least one matching reading in soil_moisture sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "level", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003509", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: lat, ts, type, lon\n Sensor: evaporation | fields: unit, level, value, lon\nTask: Fetch value from turbidity where reading is greater than the count of of reading in evaporation for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"evaporation\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003510", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: lat, value, reading, qc\n Sensor: evaporation | fields: ts, qc, unit, lon\nTask: Get lat from dew_point where ts appears in evaporation readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003511", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: level, reading, qc, lon\n Sensor: rainfall | fields: ts, level, unit, qc\nTask: Get lat from uv_index where unit appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003512", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: value, lat, reading, lon\n Sensor: turbidity | fields: ts, unit, type, lon\nTask: Get value from drought_index where a corresponding entry exists in turbidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003513", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: lon, ts, level, reading\n Sensor: humidity | fields: unit, value, qc, depth\nTask: Get lon from pressure where qc appears in humidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003514", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: qc, depth, reading, lat\n Sensor: drought_index | fields: type, ts, reading, lon\nTask: Get lat from temperature where a corresponding entry exists in drought_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lat", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003515", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: value, ts, level, qc\n Sensor: pressure | fields: level, unit, reading, type\nTask: Fetch lat from lightning where depth is greater than the count of of value in pressure for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"pressure\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003516", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: ts, level, qc, type\n Sensor: frost | fields: value, ts, qc, reading\nTask: Get lat from dew_point where a corresponding entry exists in frost with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003517", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, depth, lat, type\n Sensor: snow_depth | fields: ts, reading, unit, type\nTask: Retrieve level from uv_index with depth above the AVG(reading) of snow_depth readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"snow_depth\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003518", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: lon, ts, lat, reading\n Sensor: sunlight | fields: unit, reading, lat, type\nTask: Fetch reading from snow_depth that have at least one corresponding sunlight measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "reading", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003519", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: ts, type, reading, level\n Sensor: cloud_cover | fields: unit, ts, lon, type\nTask: Get lon from humidity where a corresponding entry exists in cloud_cover with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lon", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003520", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: unit, lat, lon, depth\n Sensor: soil_moisture | fields: depth, reading, qc, lon\nTask: Fetch level from evaporation where unit exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "level", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003521", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: type, lat, unit, lon\n Sensor: pressure | fields: level, depth, lat, type\nTask: Get value from cloud_cover where value exceeds the total reading from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003522", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: reading, level, unit, lon\n Sensor: turbidity | fields: reading, qc, value, lat\nTask: Fetch lon from cloud_cover that have at least one corresponding turbidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003523", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: ts, depth, lat, reading\n Sensor: frost | fields: qc, level, lat, type\nTask: Fetch value from snow_depth where depth is greater than the count of of value in frost for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003524", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: value, level, depth, lat\n Sensor: dew_point | fields: unit, value, lon, lat\nTask: Get reading from drought_index where depth exceeds the minimum reading from dew_point for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"dew_point\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003525", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: type, qc, unit, lat\n Sensor: cloud_cover | fields: lon, qc, reading, value\nTask: Retrieve level from sunlight with reading above the COUNT(depth) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003526", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: value, depth, type, qc\n Sensor: drought_index | fields: type, level, depth, lat\nTask: Fetch depth from rainfall where reading is greater than the minimum of value in drought_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"drought_index\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003527", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: type, ts, qc, level\n Sensor: soil_moisture | fields: qc, ts, unit, depth\nTask: Retrieve depth from wind_speed with reading above the SUM(depth) of soil_moisture readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003528", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: depth, reading, type, value\n Sensor: humidity | fields: reading, unit, depth, lat\nTask: Retrieve lat from soil_moisture that have at least one matching reading in humidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lat", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003529", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: depth, type, value, lon\n Sensor: evaporation | fields: value, lon, level, ts\nTask: Fetch lon from temperature that have at least one corresponding evaporation measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003530", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: qc, level, value, lon\n Sensor: cloud_cover | fields: lat, depth, qc, level\nTask: Fetch level from drought_index where value is greater than the average of reading in cloud_cover for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003531", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: value, type, depth, qc\n Sensor: sunlight | fields: reading, lat, value, level\nTask: Retrieve depth from air_quality that have at least one matching reading in sunlight sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003532", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: reading, ts, value, lat\n Sensor: rainfall | fields: ts, lat, depth, value\nTask: Fetch reading from drought_index that have at least one corresponding rainfall measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003533", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: type, lon, lat, reading\n Sensor: evaporation | fields: type, reading, ts, unit\nTask: Get reading from sunlight where depth exceeds the total reading from evaporation for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"evaporation\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003534", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lat, level, value, depth\n Sensor: air_quality | fields: ts, value, depth, unit\nTask: Fetch lon from humidity where depth exists in air_quality sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003535", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: value, qc, ts, unit\n Sensor: rainfall | fields: ts, value, reading, lat\nTask: Get lat from soil_moisture where ts appears in rainfall readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003536", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: level, unit, lat, reading\n Sensor: turbidity | fields: value, lon, unit, level\nTask: Fetch value from humidity where type exists in turbidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003537", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: ts, lat, lon, level\n Sensor: uv_index | fields: unit, qc, level, ts\nTask: Fetch lon from humidity where qc exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003538", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lon, reading, type, unit\n Sensor: air_quality | fields: lon, ts, qc, level\nTask: Get value from evaporation where reading exceeds the maximum depth from air_quality for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"air_quality\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003539", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: qc, level, depth, reading\n Sensor: drought_index | fields: depth, qc, ts, reading\nTask: Get reading from evaporation where depth appears in drought_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003540", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: ts, reading, value, lat\n Sensor: air_quality | fields: ts, value, unit, depth\nTask: Retrieve level from cloud_cover with reading above the COUNT(reading) of air_quality readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003541", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: lat, qc, level, ts\n Sensor: visibility | fields: depth, value, type, qc\nTask: Get reading from drought_index where reading exceeds the maximum depth from visibility for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"visibility\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003542", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: reading, value, unit, level\n Sensor: sunlight | fields: lon, reading, value, ts\nTask: Fetch depth from drought_index where value is greater than the average of depth in sunlight for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003543", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: type, depth, reading, qc\n Sensor: rainfall | fields: depth, lat, unit, lon\nTask: Get depth from air_quality where a corresponding entry exists in rainfall with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003544", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: qc, lat, value, reading\n Sensor: frost | fields: reading, type, lon, value\nTask: Fetch value from dew_point that have at least one corresponding frost measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003545", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: ts, depth, type, lon\n Sensor: air_quality | fields: ts, unit, level, qc\nTask: Get value from soil_moisture where depth exceeds the average value from air_quality for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003546", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: value, lon, level, type\n Sensor: rainfall | fields: lat, ts, depth, lon\nTask: Fetch depth from wind_speed that have at least one corresponding rainfall measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003547", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: qc, depth, type, reading\n Sensor: rainfall | fields: type, level, ts, lon\nTask: Fetch depth from temperature that have at least one corresponding rainfall measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003548", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: lat, depth, lon, qc\n Sensor: turbidity | fields: level, qc, lon, value\nTask: Retrieve level from drought_index that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003549", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: depth, level, lat, unit\n Sensor: visibility | fields: lon, reading, lat, depth\nTask: Fetch depth from wind_speed where type exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003550", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: qc, unit, type, reading\n Sensor: cloud_cover | fields: unit, value, lon, type\nTask: Fetch value from dew_point where value is greater than the average of reading in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003551", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: qc, unit, ts, lon\n Sensor: frost | fields: lat, value, qc, unit\nTask: Retrieve reading from cloud_cover with reading above the COUNT(depth) of frost readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003552", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: value, lat, depth, type\n Sensor: rainfall | fields: ts, type, qc, depth\nTask: Get reading from cloud_cover where depth exceeds the total depth from rainfall for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"rainfall\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003553", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: value, qc, depth, lat\n Sensor: cloud_cover | fields: level, lat, ts, lon\nTask: Fetch lon from rainfall where qc exists in cloud_cover sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003554", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: ts, reading, qc, type\n Sensor: snow_depth | fields: unit, ts, reading, type\nTask: Fetch value from humidity where ts exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003555", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lon, type, qc, ts\n Sensor: humidity | fields: level, ts, value, unit\nTask: Fetch depth from turbidity where depth exists in humidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003556", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: lon, qc, ts, depth\n Sensor: turbidity | fields: ts, reading, unit, qc\nTask: Get reading from visibility where a corresponding entry exists in turbidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003557", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: level, value, ts, unit\n Sensor: temperature | fields: lat, depth, reading, qc\nTask: Retrieve lon from frost whose type is found in temperature records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003558", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: qc, depth, lon, value\n Sensor: drought_index | fields: ts, lat, unit, lon\nTask: Get lat from humidity where depth exceeds the total value from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"drought_index\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003559", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: ts, value, qc, lat\n Sensor: uv_index | fields: depth, lon, value, qc\nTask: Get lon from turbidity where type appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003560", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: type, value, reading, unit\n Sensor: frost | fields: lat, unit, qc, depth\nTask: Get level from temperature where value exceeds the total reading from frost for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"frost\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003561", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: reading, ts, level, lon\n Sensor: snow_depth | fields: depth, ts, reading, type\nTask: Get level from lightning where ts appears in snow_depth readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003562", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: qc, lat, value, level\n Sensor: air_quality | fields: value, level, lat, reading\nTask: Fetch level from temperature where unit exists in air_quality sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003563", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: level, ts, value, unit\n Sensor: cloud_cover | fields: type, value, qc, reading\nTask: Retrieve level from sunlight whose type is found in cloud_cover records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003564", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: lat, level, ts, reading\n Sensor: humidity | fields: lat, lon, depth, ts\nTask: Retrieve value from temperature with depth above the MIN(reading) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003565", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: depth, lat, level, reading\n Sensor: visibility | fields: level, reading, lon, type\nTask: Retrieve lat from lightning whose unit is found in visibility records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003566", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: type, depth, ts, lon\n Sensor: lightning | fields: ts, value, lon, reading\nTask: Retrieve lat from turbidity that have at least one matching reading in lightning sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003567", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: unit, lat, ts, lon\n Sensor: rainfall | fields: qc, lon, depth, reading\nTask: Get value from soil_moisture where ts appears in rainfall readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003568", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: level, value, reading, ts\n Sensor: drought_index | fields: unit, depth, qc, lat\nTask: Get level from evaporation where qc appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003569", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: qc, ts, level, value\n Sensor: air_quality | fields: ts, type, lon, value\nTask: Retrieve level from drought_index that have at least one matching reading in air_quality sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003570", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: qc, unit, reading, type\n Sensor: visibility | fields: qc, level, value, ts\nTask: Get reading from air_quality where a corresponding entry exists in visibility with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "reading", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003571", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: ts, depth, lat, unit\n Sensor: dew_point | fields: value, level, ts, qc\nTask: Retrieve reading from snow_depth with reading above the MIN(depth) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"dew_point\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003572", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: value, type, lon, level\n Sensor: humidity | fields: unit, depth, type, value\nTask: Retrieve value from uv_index that have at least one matching reading in humidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "value", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003573", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: lon, type, depth, ts\n Sensor: temperature | fields: depth, ts, lat, level\nTask: Retrieve lon from pressure that have at least one matching reading in temperature sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003574", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: qc, level, type, value\n Sensor: uv_index | fields: reading, ts, lat, type\nTask: Get lon from soil_moisture where unit appears in uv_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003575", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: lon, lat, reading, qc\n Sensor: humidity | fields: value, level, unit, lon\nTask: Fetch lat from air_quality where value is greater than the average of depth in humidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"humidity\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003576", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: qc, reading, depth, ts\n Sensor: air_quality | fields: reading, level, ts, value\nTask: Get depth from uv_index where value exceeds the maximum value from air_quality for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"air_quality\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003577", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: depth, ts, type, qc\n Sensor: turbidity | fields: ts, reading, type, lon\nTask: Fetch depth from pressure where unit exists in turbidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003578", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: reading, depth, type, ts\n Sensor: evaporation | fields: lon, unit, lat, depth\nTask: Fetch lat from visibility where value is greater than the average of depth in evaporation for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"evaporation\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003579", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: depth, lat, ts, qc\n Sensor: air_quality | fields: reading, value, depth, level\nTask: Retrieve value from snow_depth with depth above the MIN(reading) of air_quality readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003580", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lon, value, type, lat\n Sensor: rainfall | fields: level, reading, depth, qc\nTask: Retrieve lon from visibility whose type is found in rainfall records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003581", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: depth, lat, type, value\n Sensor: frost | fields: depth, lon, unit, type\nTask: Fetch level from lightning where unit exists in frost sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003582", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: type, depth, level, reading\n Sensor: snow_depth | fields: depth, qc, unit, level\nTask: Get reading from sunlight where depth appears in snow_depth readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003583", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: level, ts, reading, value\n Sensor: visibility | fields: qc, unit, depth, ts\nTask: Fetch depth from rainfall where unit exists in visibility sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003584", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: reading, level, type, unit\n Sensor: dew_point | fields: level, depth, value, reading\nTask: Fetch value from evaporation that have at least one corresponding dew_point measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003585", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: ts, value, unit, depth\n Sensor: sunlight | fields: ts, unit, value, reading\nTask: Retrieve value from frost with depth above the MAX(value) of sunlight readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"sunlight\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003586", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: type, lat, lon, value\n Sensor: uv_index | fields: depth, type, qc, lat\nTask: Get depth from pressure where qc appears in uv_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003587", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: unit, depth, qc, ts\n Sensor: rainfall | fields: depth, value, reading, type\nTask: Get lon from cloud_cover where qc appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003588", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: value, qc, unit, lon\n Sensor: sunlight | fields: ts, qc, reading, depth\nTask: Retrieve reading from air_quality with reading above the SUM(value) of sunlight readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"sunlight\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003589", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: reading, depth, unit, lat\n Sensor: lightning | fields: unit, lon, level, ts\nTask: Fetch lat from frost where ts exists in lightning sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003590", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: lon, level, value, depth\n Sensor: cloud_cover | fields: unit, level, value, ts\nTask: Get lon from rainfall where a corresponding entry exists in cloud_cover with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003591", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: value, unit, lat, reading\n Sensor: air_quality | fields: lon, qc, level, lat\nTask: Get value from evaporation where ts appears in air_quality readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003592", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lat, depth, lon, value\n Sensor: temperature | fields: depth, qc, type, level\nTask: Get value from rainfall where a corresponding entry exists in temperature with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003593", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: unit, reading, type, level\n Sensor: evaporation | fields: lon, value, level, type\nTask: Fetch lon from visibility that have at least one corresponding evaporation measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003594", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: depth, unit, reading, ts\n Sensor: sunlight | fields: value, level, depth, qc\nTask: Fetch value from drought_index where value is greater than the maximum of reading in sunlight for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"sunlight\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003595", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: lon, depth, reading, level\n Sensor: cloud_cover | fields: lat, lon, value, qc\nTask: Retrieve value from frost with reading above the SUM(value) of cloud_cover readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003596", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: lat, ts, value, level\n Sensor: cloud_cover | fields: qc, depth, type, lon\nTask: Get value from pressure where depth exceeds the maximum depth from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003597", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: depth, type, ts, value\n Sensor: soil_moisture | fields: ts, reading, type, depth\nTask: Retrieve level from wind_speed with value above the AVG(value) of soil_moisture readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003598", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: value, depth, reading, level\n Sensor: dew_point | fields: depth, ts, reading, unit\nTask: Fetch lon from cloud_cover where reading is greater than the maximum of value in dew_point for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003599", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: value, lon, type, qc\n Sensor: air_quality | fields: value, lat, ts, unit\nTask: Get depth from visibility where a corresponding entry exists in air_quality with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003600", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: type, qc, level, lon\n Sensor: dew_point | fields: reading, depth, lon, lat\nTask: Retrieve value from evaporation with reading above the SUM(depth) of dew_point readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"dew_point\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003601", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: qc, value, level, type\n Sensor: rainfall | fields: lon, lat, ts, level\nTask: Get value from wind_speed where a corresponding entry exists in rainfall with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003602", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lon, ts, depth, reading\n Sensor: drought_index | fields: unit, lon, lat, ts\nTask: Get value from sunlight where value exceeds the total reading from drought_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003603", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: ts, type, unit, lat\n Sensor: lightning | fields: value, reading, ts, level\nTask: Fetch lat from turbidity where unit exists in lightning sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003604", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: level, lat, lon, type\n Sensor: lightning | fields: level, type, lat, ts\nTask: Retrieve lon from snow_depth that have at least one matching reading in lightning sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003605", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: ts, lon, level, reading\n Sensor: visibility | fields: qc, lat, type, level\nTask: Get reading from snow_depth where a corresponding entry exists in visibility with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003606", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: ts, reading, unit, qc\n Sensor: sunlight | fields: level, unit, value, depth\nTask: Get lon from pressure where ts appears in sunlight readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003607", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: type, lon, qc, ts\n Sensor: snow_depth | fields: qc, lat, ts, value\nTask: Get value from air_quality where unit appears in snow_depth readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003608", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: level, qc, depth, ts\n Sensor: temperature | fields: reading, depth, unit, ts\nTask: Retrieve value from soil_moisture whose unit is found in temperature records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003609", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: value, lat, depth, reading\n Sensor: snow_depth | fields: value, depth, unit, qc\nTask: Retrieve reading from visibility whose qc is found in snow_depth records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003610", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: value, ts, level, unit\n Sensor: uv_index | fields: level, lat, type, lon\nTask: Get lon from cloud_cover where a corresponding entry exists in uv_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lon", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003611", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: ts, qc, level, lat\n Sensor: visibility | fields: unit, level, qc, ts\nTask: Fetch level from temperature where depth exists in visibility sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003612", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: ts, level, reading, lat\n Sensor: air_quality | fields: ts, level, lon, value\nTask: Fetch value from dew_point where reading is greater than the maximum of reading in air_quality for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"air_quality\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003613", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: unit, ts, level, type\n Sensor: visibility | fields: ts, lat, level, unit\nTask: Get lat from soil_moisture where unit appears in visibility readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003614", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: level, lon, qc, unit\n Sensor: sunlight | fields: lon, level, reading, type\nTask: Fetch level from cloud_cover where value is greater than the count of of depth in sunlight for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003615", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: qc, ts, type, reading\n Sensor: lightning | fields: level, ts, lat, lon\nTask: Retrieve lon from wind_speed whose qc is found in lightning records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003616", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: level, value, lat, type\n Sensor: temperature | fields: level, lat, unit, type\nTask: Retrieve value from lightning whose ts is found in temperature records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003617", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: qc, ts, reading, level\n Sensor: air_quality | fields: type, reading, unit, ts\nTask: Get value from temperature where reading exceeds the count of depth from air_quality for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"air_quality\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003618", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: type, level, ts, unit\n Sensor: temperature | fields: value, lat, unit, depth\nTask: Get lat from humidity where a corresponding entry exists in temperature with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lat", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003619", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: lon, unit, qc, reading\n Sensor: turbidity | fields: depth, reading, ts, unit\nTask: Get reading from frost where ts appears in turbidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003620", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: type, level, qc, lon\n Sensor: drought_index | fields: qc, value, lat, reading\nTask: Get reading from evaporation where depth appears in drought_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003621", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: level, value, lon, unit\n Sensor: pressure | fields: level, depth, type, reading\nTask: Retrieve level from soil_moisture whose unit is found in pressure records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003622", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: reading, unit, level, depth\n Sensor: frost | fields: qc, reading, type, depth\nTask: Get level from dew_point where a corresponding entry exists in frost with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003623", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: reading, lon, type, value\n Sensor: cloud_cover | fields: qc, level, unit, lat\nTask: Fetch reading from evaporation where type exists in cloud_cover sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003624", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: value, level, qc, type\n Sensor: dew_point | fields: value, type, depth, lat\nTask: Get level from visibility where depth appears in dew_point readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003625", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: level, value, reading, unit\n Sensor: soil_moisture | fields: type, value, unit, qc\nTask: Fetch value from sunlight where depth exists in soil_moisture sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003626", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: type, ts, reading, depth\n Sensor: temperature | fields: unit, qc, reading, type\nTask: Retrieve lon from drought_index whose ts is found in temperature records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003627", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lon, depth, unit, type\n Sensor: pressure | fields: lon, level, reading, type\nTask: Retrieve level from wind_speed that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "level", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003628", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: level, reading, lon, unit\n Sensor: turbidity | fields: value, ts, level, reading\nTask: Retrieve level from drought_index whose qc is found in turbidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003629", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: ts, lat, type, value\n Sensor: sunlight | fields: unit, qc, reading, lat\nTask: Retrieve value from evaporation whose depth is found in sunlight records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003630", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: level, value, lat, lon\n Sensor: temperature | fields: depth, reading, ts, type\nTask: Get value from sunlight where a corresponding entry exists in temperature with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "value", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003631", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: qc, lon, value, reading\n Sensor: drought_index | fields: depth, lon, unit, reading\nTask: Retrieve value from evaporation that have at least one matching reading in drought_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003632", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: type, lat, level, reading\n Sensor: snow_depth | fields: value, reading, unit, qc\nTask: Get value from uv_index where depth exceeds the total value from snow_depth for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"snow_depth\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003633", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: depth, ts, reading, value\n Sensor: uv_index | fields: level, qc, lon, reading\nTask: Retrieve lat from sunlight with value above the MAX(depth) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"uv_index\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003634", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: value, level, type, qc\n Sensor: turbidity | fields: type, reading, level, value\nTask: Retrieve reading from wind_speed with reading above the COUNT(depth) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"turbidity\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003635", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: ts, reading, lat, qc\n Sensor: dew_point | fields: depth, lon, value, reading\nTask: Retrieve depth from lightning with value above the MIN(depth) of dew_point readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"dew_point\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003636", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: unit, reading, level, qc\n Sensor: dew_point | fields: reading, ts, unit, depth\nTask: Retrieve lon from snow_depth with reading above the AVG(reading) of dew_point readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"dew_point\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003637", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: qc, lat, level, reading\n Sensor: air_quality | fields: depth, qc, lat, unit\nTask: Fetch depth from uv_index where value is greater than the average of depth in air_quality for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003638", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: reading, ts, depth, value\n Sensor: air_quality | fields: value, depth, reading, lon\nTask: Get level from wind_speed where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003639", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: level, lat, reading, lon\n Sensor: visibility | fields: unit, depth, reading, lat\nTask: Get reading from lightning where depth exceeds the maximum value from visibility for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"visibility\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003640", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: type, ts, level, depth\n Sensor: turbidity | fields: depth, ts, value, lat\nTask: Fetch reading from soil_moisture where ts exists in turbidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003641", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: depth, type, level, lat\n Sensor: turbidity | fields: ts, unit, level, reading\nTask: Fetch lon from soil_moisture that have at least one corresponding turbidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lon", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003642", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: level, reading, depth, lon\n Sensor: uv_index | fields: type, qc, value, reading\nTask: Fetch reading from wind_speed where depth is greater than the minimum of depth in uv_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003643", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: ts, qc, type, lon\n Sensor: temperature | fields: lon, reading, lat, qc\nTask: Retrieve level from humidity that have at least one matching reading in temperature sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "level", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003644", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lat, type, lon, level\n Sensor: pressure | fields: level, depth, lat, unit\nTask: Fetch reading from rainfall where depth exists in pressure sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003645", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: value, type, depth, level\n Sensor: frost | fields: depth, qc, lat, reading\nTask: Fetch value from dew_point where depth exists in frost sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003646", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: ts, value, depth, reading\n Sensor: humidity | fields: type, qc, lon, reading\nTask: Fetch reading from drought_index where reading is greater than the minimum of reading in humidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003647", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: unit, level, type, lon\n Sensor: humidity | fields: unit, qc, depth, value\nTask: Get depth from snow_depth where unit appears in humidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003648", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: level, ts, qc, lon\n Sensor: visibility | fields: depth, type, lat, ts\nTask: Get lon from soil_moisture where value exceeds the average reading from visibility for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003649", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: unit, ts, reading, qc\n Sensor: frost | fields: type, level, unit, depth\nTask: Retrieve lat from lightning with reading above the MAX(value) of frost readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"frost\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003650", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: qc, lon, ts, reading\n Sensor: snow_depth | fields: unit, ts, qc, level\nTask: Retrieve reading from uv_index with reading above the MAX(reading) of snow_depth readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003651", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lat, unit, type, lon\n Sensor: dew_point | fields: qc, level, ts, unit\nTask: Retrieve lat from soil_moisture with value above the COUNT(value) of dew_point readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"dew_point\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003652", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: value, depth, qc, unit\n Sensor: lightning | fields: level, ts, lon, qc\nTask: Fetch depth from cloud_cover where unit exists in lightning sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003653", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: type, lat, qc, lon\n Sensor: frost | fields: lat, reading, value, ts\nTask: Retrieve value from snow_depth that have at least one matching reading in frost sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003654", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: lat, reading, level, ts\n Sensor: dew_point | fields: type, value, qc, ts\nTask: Retrieve reading from uv_index with reading above the COUNT(depth) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"dew_point\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003655", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: qc, type, value, level\n Sensor: snow_depth | fields: ts, type, lon, level\nTask: Get level from cloud_cover where a corresponding entry exists in snow_depth with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "level", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003656", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lat, depth, lon, type\n Sensor: cloud_cover | fields: level, reading, lon, value\nTask: Retrieve depth from dew_point with depth above the MIN(reading) of cloud_cover readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003657", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: ts, lat, lon, reading\n Sensor: visibility | fields: level, lat, unit, value\nTask: Retrieve level from soil_moisture that have at least one matching reading in visibility sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "level", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003658", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: unit, lon, qc, depth\n Sensor: temperature | fields: lat, depth, ts, unit\nTask: Fetch reading from frost where depth exists in temperature sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003659", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: ts, level, lon, depth\n Sensor: frost | fields: depth, level, ts, value\nTask: Get value from dew_point where ts appears in frost readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003660", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: reading, value, level, lat\n Sensor: drought_index | fields: qc, type, lat, unit\nTask: Retrieve depth from dew_point that have at least one matching reading in drought_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003661", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: type, reading, depth, level\n Sensor: drought_index | fields: lon, unit, lat, qc\nTask: Get value from lightning where a corresponding entry exists in drought_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003662", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: ts, depth, lat, type\n Sensor: snow_depth | fields: qc, lat, reading, ts\nTask: Get value from dew_point where a corresponding entry exists in snow_depth with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "value", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003663", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: level, type, reading, lon\n Sensor: lightning | fields: value, ts, qc, lat\nTask: Retrieve depth from visibility that have at least one matching reading in lightning sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003664", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: qc, level, unit, depth\n Sensor: evaporation | fields: value, lon, reading, ts\nTask: Fetch lon from sunlight where depth exists in evaporation sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003665", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: lat, unit, qc, value\n Sensor: frost | fields: lon, qc, ts, depth\nTask: Retrieve level from drought_index that have at least one matching reading in frost sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003666", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: ts, value, lat, depth\n Sensor: evaporation | fields: lat, depth, type, ts\nTask: Get depth from sunlight where a corresponding entry exists in evaporation with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003667", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: ts, level, qc, lon\n Sensor: drought_index | fields: level, depth, unit, ts\nTask: Get level from frost where depth exceeds the count of value from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"drought_index\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003668", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: value, type, lon, qc\n Sensor: frost | fields: lon, value, level, unit\nTask: Get depth from wind_speed where type appears in frost readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003669", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: ts, reading, level, lat\n Sensor: turbidity | fields: type, qc, level, lon\nTask: Fetch value from visibility where depth exists in turbidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003670", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: value, reading, depth, lat\n Sensor: wind_speed | fields: qc, level, ts, lat\nTask: Fetch level from evaporation that have at least one corresponding wind_speed measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003671", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lon, level, qc, type\n Sensor: dew_point | fields: reading, unit, level, value\nTask: Fetch depth from temperature where value is greater than the count of of depth in dew_point for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"dew_point\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003672", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lat, lon, qc, depth\n Sensor: snow_depth | fields: level, reading, ts, depth\nTask: Fetch depth from pressure where unit exists in snow_depth sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003673", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: lat, value, ts, qc\n Sensor: uv_index | fields: value, lon, unit, reading\nTask: Fetch lon from sunlight where depth exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003674", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lon, unit, qc, type\n Sensor: rainfall | fields: qc, lat, reading, level\nTask: Retrieve lon from sunlight whose type is found in rainfall records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003675", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: unit, lat, qc, lon\n Sensor: dew_point | fields: depth, type, lat, unit\nTask: Fetch level from pressure that have at least one corresponding dew_point measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003676", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: ts, lon, level, depth\n Sensor: sunlight | fields: lat, ts, lon, unit\nTask: Retrieve level from visibility whose type is found in sunlight records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003677", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: unit, lon, ts, qc\n Sensor: dew_point | fields: lat, ts, lon, type\nTask: Get value from uv_index where reading exceeds the total reading from dew_point for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"dew_point\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003678", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: lon, value, level, unit\n Sensor: uv_index | fields: level, type, value, reading\nTask: Fetch level from frost that have at least one corresponding uv_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003679", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: qc, level, lat, value\n Sensor: wind_speed | fields: type, qc, lat, ts\nTask: Retrieve lat from frost that have at least one matching reading in wind_speed sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lat", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003680", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: ts, lat, type, depth\n Sensor: sunlight | fields: unit, ts, level, qc\nTask: Retrieve lon from evaporation whose type is found in sunlight records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003681", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: lon, unit, type, depth\n Sensor: evaporation | fields: lon, unit, level, reading\nTask: Retrieve reading from pressure that have at least one matching reading in evaporation sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003682", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: level, type, lat, value\n Sensor: temperature | fields: value, depth, unit, lat\nTask: Get level from soil_moisture where depth appears in temperature readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003683", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: qc, reading, value, lon\n Sensor: rainfall | fields: type, unit, value, level\nTask: Retrieve lon from pressure with reading above the MAX(depth) of rainfall readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"rainfall\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003684", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: type, lat, unit, ts\n Sensor: temperature | fields: value, reading, type, lat\nTask: Retrieve value from sunlight that have at least one matching reading in temperature sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "value", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003685", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: depth, value, unit, type\n Sensor: wind_speed | fields: lat, qc, depth, type\nTask: Get reading from lightning where depth exceeds the count of reading from wind_speed for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"wind_speed\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003686", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: type, reading, lon, unit\n Sensor: pressure | fields: lon, value, ts, type\nTask: Fetch reading from frost where unit exists in pressure sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003687", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: level, lon, value, unit\n Sensor: snow_depth | fields: unit, value, level, lat\nTask: Get reading from turbidity where depth appears in snow_depth readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003688", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: depth, unit, value, qc\n Sensor: wind_speed | fields: level, lon, reading, unit\nTask: Fetch depth from uv_index where value is greater than the count of of value in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"wind_speed\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003689", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: qc, ts, lon, unit\n Sensor: soil_moisture | fields: lat, depth, ts, value\nTask: Get reading from evaporation where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "reading", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003690", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: level, lon, lat, reading\n Sensor: evaporation | fields: lon, lat, qc, reading\nTask: Fetch lat from wind_speed where type exists in evaporation sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003691", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: qc, type, depth, unit\n Sensor: humidity | fields: lon, lat, unit, reading\nTask: Fetch reading from air_quality that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003692", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: type, lat, reading, unit\n Sensor: pressure | fields: unit, lon, depth, value\nTask: Fetch depth from cloud_cover where ts exists in pressure sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003693", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: type, reading, lat, value\n Sensor: soil_moisture | fields: qc, ts, level, type\nTask: Get value from visibility where type appears in soil_moisture readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003694", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: qc, ts, unit, type\n Sensor: air_quality | fields: unit, lat, type, qc\nTask: Fetch lat from wind_speed where ts exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003695", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: level, depth, type, reading\n Sensor: air_quality | fields: value, lon, reading, level\nTask: Retrieve reading from frost whose ts is found in air_quality records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003696", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: qc, value, unit, lat\n Sensor: turbidity | fields: qc, level, unit, type\nTask: Get depth from dew_point where value exceeds the minimum reading from turbidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"turbidity\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003697", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: qc, value, depth, unit\n Sensor: lightning | fields: type, value, reading, lon\nTask: Get depth from snow_depth where a corresponding entry exists in lightning with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003698", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: unit, value, type, reading\n Sensor: cloud_cover | fields: reading, depth, type, value\nTask: Fetch level from frost where ts exists in cloud_cover sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003699", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lat, unit, type, level\n Sensor: dew_point | fields: depth, ts, reading, unit\nTask: Get lat from air_quality where unit appears in dew_point readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003700", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: reading, ts, type, lon\n Sensor: soil_moisture | fields: type, lat, unit, qc\nTask: Fetch depth from snow_depth where value is greater than the count of of value in soil_moisture for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"soil_moisture\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003701", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lon, qc, lat, depth\n Sensor: soil_moisture | fields: depth, qc, value, reading\nTask: Retrieve lon from rainfall with reading above the SUM(reading) of soil_moisture readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003702", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lon, depth, unit, value\n Sensor: dew_point | fields: qc, lon, unit, type\nTask: Fetch value from snow_depth where reading is greater than the minimum of reading in dew_point for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"dew_point\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003703", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: qc, ts, lon, unit\n Sensor: temperature | fields: lat, unit, qc, depth\nTask: Retrieve reading from dew_point with value above the SUM(value) of temperature readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"temperature\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003704", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: type, lat, depth, reading\n Sensor: uv_index | fields: unit, depth, lat, value\nTask: Fetch reading from pressure that have at least one corresponding uv_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "reading", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003705", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: ts, depth, level, reading\n Sensor: turbidity | fields: ts, lat, unit, value\nTask: Get value from visibility where type appears in turbidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003706", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: depth, reading, lon, ts\n Sensor: drought_index | fields: depth, lon, value, unit\nTask: Retrieve reading from pressure that have at least one matching reading in drought_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003707", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: reading, type, ts, qc\n Sensor: turbidity | fields: depth, level, unit, reading\nTask: Retrieve lat from temperature whose unit is found in turbidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003708", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: reading, lat, lon, unit\n Sensor: turbidity | fields: ts, unit, lat, depth\nTask: Fetch depth from lightning where reading is greater than the minimum of depth in turbidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"turbidity\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003709", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: reading, ts, lat, type\n Sensor: cloud_cover | fields: lat, qc, lon, type\nTask: Fetch reading from sunlight where ts exists in cloud_cover sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003710", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: lat, depth, unit, type\n Sensor: air_quality | fields: lon, type, reading, ts\nTask: Fetch lon from lightning that have at least one corresponding air_quality measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lon", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003711", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: unit, qc, ts, level\n Sensor: snow_depth | fields: lon, value, depth, lat\nTask: Fetch lat from humidity that have at least one corresponding snow_depth measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lat", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003712", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: ts, unit, value, reading\n Sensor: rainfall | fields: value, depth, ts, lon\nTask: Fetch reading from evaporation where depth is greater than the count of of reading in rainfall for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"rainfall\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003713", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: depth, ts, reading, qc\n Sensor: soil_moisture | fields: value, level, reading, type\nTask: Get reading from sunlight where a corresponding entry exists in soil_moisture with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003714", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: qc, type, lat, depth\n Sensor: humidity | fields: value, level, lon, depth\nTask: Fetch depth from drought_index where value is greater than the count of of reading in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"humidity\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003715", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: unit, level, type, value\n Sensor: visibility | fields: unit, type, value, reading\nTask: Retrieve level from air_quality whose unit is found in visibility records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003716", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: lon, value, ts, depth\n Sensor: evaporation | fields: level, type, ts, depth\nTask: Get value from uv_index where depth appears in evaporation readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003717", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: depth, level, unit, type\n Sensor: air_quality | fields: qc, ts, lon, unit\nTask: Fetch value from wind_speed where depth exists in air_quality sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003718", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: depth, qc, type, reading\n Sensor: wind_speed | fields: lon, depth, ts, lat\nTask: Get lat from rainfall where depth appears in wind_speed readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003719", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: depth, type, lon, unit\n Sensor: humidity | fields: depth, lat, unit, lon\nTask: Fetch lon from visibility that have at least one corresponding humidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lon", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003720", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: level, unit, lat, ts\n Sensor: turbidity | fields: qc, ts, value, unit\nTask: Retrieve depth from lightning with reading above the COUNT(reading) of turbidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003721", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: type, reading, value, ts\n Sensor: frost | fields: lat, lon, value, reading\nTask: Fetch lon from lightning where depth is greater than the maximum of depth in frost for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"frost\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003722", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: type, reading, unit, lon\n Sensor: uv_index | fields: lon, depth, lat, reading\nTask: Get lat from soil_moisture where reading exceeds the total depth from uv_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"uv_index\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003723", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: depth, type, unit, level\n Sensor: lightning | fields: level, value, lat, reading\nTask: Fetch lon from humidity where ts exists in lightning sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003724", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: level, lat, type, reading\n Sensor: soil_moisture | fields: level, depth, type, ts\nTask: Retrieve depth from humidity that have at least one matching reading in soil_moisture sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003725", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: reading, qc, ts, type\n Sensor: sunlight | fields: unit, reading, value, lon\nTask: Retrieve level from cloud_cover with depth above the MAX(reading) of sunlight readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"sunlight\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003726", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: depth, type, reading, qc\n Sensor: drought_index | fields: ts, reading, value, lat\nTask: Fetch level from snow_depth where depth is greater than the minimum of depth in drought_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"drought_index\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003727", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: value, level, qc, unit\n Sensor: air_quality | fields: lon, unit, type, level\nTask: Retrieve reading from snow_depth with depth above the SUM(reading) of air_quality readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003728", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: depth, level, value, lon\n Sensor: visibility | fields: value, qc, type, lon\nTask: Retrieve level from soil_moisture whose depth is found in visibility records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003729", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: lat, lon, qc, value\n Sensor: wind_speed | fields: type, reading, depth, lon\nTask: Fetch lat from turbidity where unit exists in wind_speed sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003730", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: depth, qc, lat, level\n Sensor: sunlight | fields: lon, depth, level, qc\nTask: Get depth from air_quality where type appears in sunlight readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003731", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: unit, ts, reading, depth\n Sensor: frost | fields: lon, depth, unit, level\nTask: Get lon from temperature where a corresponding entry exists in frost with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003732", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: level, unit, depth, type\n Sensor: dew_point | fields: qc, value, level, ts\nTask: Retrieve lat from wind_speed with value above the MIN(value) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"dew_point\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003733", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: type, qc, lon, ts\n Sensor: frost | fields: lat, unit, type, ts\nTask: Retrieve level from snow_depth whose ts is found in frost records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003734", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: reading, qc, depth, lon\n Sensor: wind_speed | fields: reading, ts, depth, value\nTask: Retrieve depth from humidity with value above the MIN(depth) of wind_speed readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"wind_speed\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003735", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: type, lon, lat, ts\n Sensor: rainfall | fields: level, reading, value, qc\nTask: Get lat from uv_index where a corresponding entry exists in rainfall with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lat", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003736", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: ts, reading, unit, level\n Sensor: evaporation | fields: lon, value, type, reading\nTask: Get depth from visibility where a corresponding entry exists in evaporation with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003737", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: level, lon, type, ts\n Sensor: soil_moisture | fields: value, reading, lon, unit\nTask: Retrieve depth from evaporation with value above the AVG(value) of soil_moisture readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"soil_moisture\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003738", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: depth, level, unit, lat\n Sensor: soil_moisture | fields: unit, ts, qc, level\nTask: Get lat from dew_point where type appears in soil_moisture readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003739", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: depth, level, lat, reading\n Sensor: sunlight | fields: value, reading, type, lat\nTask: Fetch depth from soil_moisture that have at least one corresponding sunlight measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003740", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: qc, lat, value, ts\n Sensor: dew_point | fields: value, depth, unit, lat\nTask: Retrieve level from uv_index with depth above the MIN(value) of dew_point readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"dew_point\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003741", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: value, ts, lon, reading\n Sensor: evaporation | fields: lat, level, value, ts\nTask: Get level from snow_depth where depth exceeds the total value from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"evaporation\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003742", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: reading, ts, unit, value\n Sensor: snow_depth | fields: lat, type, reading, qc\nTask: Fetch level from rainfall where reading is greater than the maximum of reading in snow_depth for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003743", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: ts, reading, qc, type\n Sensor: uv_index | fields: level, ts, lon, unit\nTask: Get depth from drought_index where depth exceeds the minimum depth from uv_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003744", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: level, qc, unit, lat\n Sensor: snow_depth | fields: level, ts, lon, type\nTask: Fetch reading from soil_moisture where depth exists in snow_depth sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003745", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, ts, level, unit\n Sensor: drought_index | fields: ts, lat, unit, lon\nTask: Retrieve lon from wind_speed with value above the MAX(depth) of drought_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"drought_index\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003746", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: value, lat, reading, lon\n Sensor: snow_depth | fields: value, level, lon, unit\nTask: Retrieve depth from temperature that have at least one matching reading in snow_depth sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003747", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: depth, qc, level, unit\n Sensor: lightning | fields: unit, lat, qc, value\nTask: Fetch depth from sunlight where ts exists in lightning sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003748", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: depth, lat, lon, type\n Sensor: rainfall | fields: lon, unit, depth, lat\nTask: Fetch reading from wind_speed where ts exists in rainfall sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003749", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: type, lat, ts, level\n Sensor: frost | fields: unit, qc, level, type\nTask: Retrieve level from air_quality with value above the SUM(reading) of frost readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"frost\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003750", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: reading, unit, type, level\n Sensor: air_quality | fields: reading, depth, value, qc\nTask: Get lat from lightning where a corresponding entry exists in air_quality with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lat", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003751", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lat, ts, reading, type\n Sensor: turbidity | fields: lat, qc, level, ts\nTask: Fetch depth from humidity that have at least one corresponding turbidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003752", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: value, lat, ts, level\n Sensor: drought_index | fields: qc, level, lon, unit\nTask: Fetch lon from temperature that have at least one corresponding drought_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003753", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: value, type, ts, depth\n Sensor: humidity | fields: lat, qc, depth, type\nTask: Retrieve reading from temperature with depth above the MIN(depth) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"humidity\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003754", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: value, level, qc, reading\n Sensor: turbidity | fields: value, ts, level, qc\nTask: Get level from humidity where value exceeds the minimum reading from turbidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"turbidity\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003755", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: lat, ts, lon, depth\n Sensor: frost | fields: unit, type, depth, value\nTask: Retrieve reading from turbidity with depth above the AVG(depth) of frost readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"frost\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003756", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: unit, value, lat, lon\n Sensor: lightning | fields: qc, reading, value, level\nTask: Get depth from soil_moisture where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003757", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lon, depth, lat, unit\n Sensor: snow_depth | fields: reading, ts, type, unit\nTask: Fetch lat from visibility where value is greater than the count of of reading in snow_depth for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"snow_depth\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003758", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: depth, reading, value, lon\n Sensor: dew_point | fields: ts, value, level, unit\nTask: Retrieve depth from humidity whose type is found in dew_point records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003759", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: unit, level, reading, ts\n Sensor: humidity | fields: lat, value, unit, reading\nTask: Get value from snow_depth where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003760", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: reading, ts, unit, qc\n Sensor: lightning | fields: ts, lon, value, level\nTask: Get lon from dew_point where depth exceeds the count of depth from lightning for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003761", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: qc, level, lat, value\n Sensor: lightning | fields: qc, unit, value, lat\nTask: Fetch value from soil_moisture where reading is greater than the count of of depth in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"lightning\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003762", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: reading, lon, qc, ts\n Sensor: wind_speed | fields: qc, lat, lon, value\nTask: Fetch depth from uv_index that have at least one corresponding wind_speed measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003763", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: level, depth, lat, type\n Sensor: wind_speed | fields: depth, unit, lat, value\nTask: Fetch value from pressure where type exists in wind_speed sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003764", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: ts, type, depth, lon\n Sensor: uv_index | fields: depth, reading, qc, unit\nTask: Retrieve lon from soil_moisture that have at least one matching reading in uv_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lon", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003765", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: reading, depth, type, unit\n Sensor: snow_depth | fields: level, depth, lat, ts\nTask: Get depth from wind_speed where a corresponding entry exists in snow_depth with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003766", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: unit, lon, ts, type\n Sensor: sunlight | fields: type, depth, ts, level\nTask: Get lat from snow_depth where qc appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003767", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: lon, value, unit, ts\n Sensor: uv_index | fields: lat, lon, level, reading\nTask: Get lat from snow_depth where qc appears in uv_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003768", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: qc, unit, value, reading\n Sensor: visibility | fields: level, value, qc, reading\nTask: Get level from lightning where a corresponding entry exists in visibility with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "level", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003769", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: unit, lat, depth, value\n Sensor: pressure | fields: ts, reading, lat, depth\nTask: Retrieve depth from drought_index with reading above the MIN(depth) of pressure readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"pressure\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003770", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: unit, qc, lon, lat\n Sensor: humidity | fields: unit, level, ts, value\nTask: Get depth from frost where reading exceeds the count of depth from humidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"humidity\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003771", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: qc, reading, ts, level\n Sensor: temperature | fields: unit, type, lon, level\nTask: Fetch depth from evaporation where qc exists in temperature sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003772", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: ts, qc, lon, level\n Sensor: snow_depth | fields: depth, value, reading, type\nTask: Get lat from uv_index where type appears in snow_depth readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "type", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003773", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: level, lat, unit, reading\n Sensor: air_quality | fields: level, value, reading, depth\nTask: Get lon from frost where a corresponding entry exists in air_quality with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003774", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: lat, qc, lon, ts\n Sensor: uv_index | fields: lat, reading, ts, type\nTask: Fetch level from temperature where reading is greater than the count of of reading in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"uv_index\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003775", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: unit, lat, ts, qc\n Sensor: lightning | fields: qc, value, type, reading\nTask: Retrieve reading from pressure with depth above the MAX(value) of lightning readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"lightning\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003776", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: lon, ts, depth, reading\n Sensor: cloud_cover | fields: depth, unit, reading, ts\nTask: Retrieve value from turbidity with reading above the AVG(value) of cloud_cover readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"cloud_cover\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003777", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: reading, ts, lon, lat\n Sensor: air_quality | fields: type, qc, value, lon\nTask: Get depth from frost where depth exceeds the total depth from air_quality for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"air_quality\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003778", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: qc, lat, unit, ts\n Sensor: snow_depth | fields: qc, unit, lat, reading\nTask: Get lat from rainfall where unit appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003779", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: level, reading, depth, value\n Sensor: frost | fields: value, unit, level, ts\nTask: Fetch level from dew_point where qc exists in frost sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003780", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: type, qc, reading, depth\n Sensor: snow_depth | fields: qc, reading, value, unit\nTask: Get level from visibility where type appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003781", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: depth, lat, type, level\n Sensor: snow_depth | fields: reading, level, lon, qc\nTask: Fetch lon from uv_index where depth exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003782", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: lon, depth, unit, reading\n Sensor: uv_index | fields: level, unit, type, lon\nTask: Get depth from wind_speed where a corresponding entry exists in uv_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003783", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: lat, qc, reading, ts\n Sensor: dew_point | fields: value, unit, ts, depth\nTask: Get lat from visibility where type appears in dew_point readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003784", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: qc, ts, lon, depth\n Sensor: uv_index | fields: value, qc, lon, level\nTask: Retrieve depth from wind_speed whose depth is found in uv_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003785", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: ts, value, lat, lon\n Sensor: frost | fields: lat, type, lon, depth\nTask: Fetch depth from air_quality where type exists in frost sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003786", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: unit, lat, type, lon\n Sensor: soil_moisture | fields: lat, depth, ts, unit\nTask: Retrieve depth from pressure with reading above the MAX(reading) of soil_moisture readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003787", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: level, value, type, lon\n Sensor: lightning | fields: value, unit, ts, level\nTask: Retrieve lat from air_quality whose qc is found in lightning records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003788", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: level, lat, lon, depth\n Sensor: dew_point | fields: type, lon, unit, value\nTask: Get lon from turbidity where ts appears in dew_point readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003789", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: reading, unit, ts, lon\n Sensor: rainfall | fields: reading, lat, level, type\nTask: Fetch reading from uv_index where value is greater than the total of reading in rainfall for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"rainfall\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003790", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: ts, depth, value, lat\n Sensor: turbidity | fields: unit, level, depth, qc\nTask: Fetch reading from soil_moisture where unit exists in turbidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003791", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: reading, qc, value, level\n Sensor: lightning | fields: qc, reading, lat, type\nTask: Fetch lon from temperature where unit exists in lightning sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003792", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: ts, type, level, value\n Sensor: pressure | fields: unit, lat, ts, level\nTask: Get value from rainfall where reading exceeds the average depth from pressure for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003793", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: depth, type, lon, value\n Sensor: drought_index | fields: level, unit, type, depth\nTask: Get depth from snow_depth where a corresponding entry exists in drought_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003794", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: ts, lat, lon, unit\n Sensor: pressure | fields: level, lon, reading, type\nTask: Get depth from rainfall where type appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003795", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: value, ts, qc, lon\n Sensor: evaporation | fields: depth, type, unit, reading\nTask: Fetch level from rainfall that have at least one corresponding evaporation measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003796", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: value, qc, lon, unit\n Sensor: air_quality | fields: ts, qc, type, lat\nTask: Get value from snow_depth where reading exceeds the average reading from air_quality for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"air_quality\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003797", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: qc, lon, type, level\n Sensor: evaporation | fields: lon, type, unit, reading\nTask: Fetch lat from soil_moisture where depth exists in evaporation sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003798", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: value, unit, reading, lon\n Sensor: sunlight | fields: reading, lon, type, unit\nTask: Retrieve depth from cloud_cover whose qc is found in sunlight records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003799", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lat, lon, type, value\n Sensor: lightning | fields: level, qc, ts, reading\nTask: Retrieve lon from wind_speed whose qc is found in lightning records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003800", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: depth, level, lat, unit\n Sensor: pressure | fields: reading, unit, type, depth\nTask: Retrieve level from air_quality whose unit is found in pressure records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003801", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: lon, type, ts, qc\n Sensor: wind_speed | fields: lat, depth, ts, qc\nTask: Get depth from humidity where value exceeds the count of depth from wind_speed for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"wind_speed\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003802", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: value, lat, ts, unit\n Sensor: rainfall | fields: qc, type, lat, level\nTask: Fetch value from frost where qc exists in rainfall sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003803", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: value, qc, reading, depth\n Sensor: humidity | fields: reading, ts, level, unit\nTask: Fetch lat from soil_moisture where unit exists in humidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003804", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: type, level, lat, depth\n Sensor: visibility | fields: lon, qc, depth, reading\nTask: Retrieve lon from soil_moisture that have at least one matching reading in visibility sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003805", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: qc, ts, value, lat\n Sensor: wind_speed | fields: lat, reading, level, value\nTask: Retrieve value from drought_index whose qc is found in wind_speed records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003806", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lat, depth, type, unit\n Sensor: snow_depth | fields: ts, reading, type, level\nTask: Fetch lon from rainfall where depth exists in snow_depth sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003807", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: value, depth, qc, lon\n Sensor: air_quality | fields: type, lat, depth, lon\nTask: Fetch reading from turbidity where ts exists in air_quality sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003808", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: ts, type, reading, level\n Sensor: sunlight | fields: level, lon, depth, qc\nTask: Retrieve value from frost with reading above the MIN(reading) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"sunlight\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003809", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: qc, lon, depth, reading\n Sensor: drought_index | fields: reading, qc, type, level\nTask: Get level from dew_point where reading exceeds the total reading from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003810", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: value, unit, qc, ts\n Sensor: dew_point | fields: unit, level, ts, depth\nTask: Fetch level from wind_speed where reading is greater than the total of depth in dew_point for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"dew_point\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003811", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: value, level, unit, reading\n Sensor: drought_index | fields: depth, reading, level, unit\nTask: Get lon from wind_speed where depth appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003812", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: unit, ts, reading, depth\n Sensor: temperature | fields: reading, unit, level, ts\nTask: Retrieve lon from snow_depth that have at least one matching reading in temperature sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003813", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: ts, qc, lon, lat\n Sensor: snow_depth | fields: reading, type, qc, value\nTask: Retrieve lat from temperature that have at least one matching reading in snow_depth sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003814", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: type, qc, lat, unit\n Sensor: uv_index | fields: unit, reading, ts, type\nTask: Get lon from snow_depth where a corresponding entry exists in uv_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003815", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: ts, unit, depth, reading\n Sensor: soil_moisture | fields: ts, level, qc, type\nTask: Get lon from humidity where depth exceeds the maximum reading from soil_moisture for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003816", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: unit, lat, ts, value\n Sensor: wind_speed | fields: lon, reading, type, ts\nTask: Get lon from temperature where qc appears in wind_speed readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003817", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lon, value, lat, level\n Sensor: lightning | fields: type, unit, depth, qc\nTask: Retrieve lon from sunlight that have at least one matching reading in lightning sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003818", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: lon, level, reading, type\n Sensor: soil_moisture | fields: level, type, unit, value\nTask: Fetch value from sunlight where depth is greater than the average of reading in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003819", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: qc, level, type, lat\n Sensor: sunlight | fields: value, depth, qc, ts\nTask: Get lon from cloud_cover where qc appears in sunlight readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003820", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: qc, reading, depth, lat\n Sensor: pressure | fields: reading, value, lat, unit\nTask: Get level from air_quality where reading exceeds the count of depth from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"pressure\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003821", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lat, type, lon, qc\n Sensor: uv_index | fields: value, depth, reading, ts\nTask: Retrieve value from humidity whose type is found in uv_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003822", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: value, depth, lat, unit\n Sensor: visibility | fields: type, depth, unit, ts\nTask: Retrieve reading from pressure whose qc is found in visibility records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003823", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: value, ts, level, unit\n Sensor: cloud_cover | fields: unit, lon, qc, lat\nTask: Retrieve depth from temperature with reading above the AVG(reading) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003824", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: value, lon, lat, depth\n Sensor: rainfall | fields: reading, value, depth, lat\nTask: Fetch depth from drought_index where value is greater than the average of value in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"rainfall\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003825", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: type, ts, qc, value\n Sensor: evaporation | fields: unit, lat, ts, level\nTask: Fetch lon from soil_moisture that have at least one corresponding evaporation measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003826", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: value, ts, type, qc\n Sensor: sunlight | fields: type, lon, level, qc\nTask: Fetch reading from frost where reading is greater than the total of reading in sunlight for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"sunlight\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003827", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lat, qc, depth, unit\n Sensor: sunlight | fields: reading, value, lon, unit\nTask: Fetch lat from turbidity that have at least one corresponding sunlight measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003828", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: level, type, reading, lon\n Sensor: wind_speed | fields: reading, unit, depth, type\nTask: Get depth from pressure where a corresponding entry exists in wind_speed with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003829", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: unit, ts, lat, level\n Sensor: pressure | fields: type, reading, lat, ts\nTask: Retrieve level from frost whose unit is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003830", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: reading, qc, lat, level\n Sensor: humidity | fields: ts, type, depth, reading\nTask: Retrieve lat from visibility with value above the MIN(reading) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003831", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: value, lon, level, type\n Sensor: drought_index | fields: unit, value, reading, depth\nTask: Get depth from evaporation where reading exceeds the count of depth from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003832", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: reading, level, ts, qc\n Sensor: air_quality | fields: unit, depth, reading, lat\nTask: Retrieve lat from visibility with reading above the COUNT(depth) of air_quality readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"air_quality\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003833", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: reading, unit, lon, type\n Sensor: temperature | fields: depth, type, lon, unit\nTask: Get reading from turbidity where a corresponding entry exists in temperature with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003834", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: type, ts, reading, value\n Sensor: temperature | fields: level, type, value, ts\nTask: Fetch value from cloud_cover where depth exists in temperature sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003835", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: reading, level, value, unit\n Sensor: rainfall | fields: ts, reading, type, level\nTask: Retrieve value from wind_speed with reading above the MAX(reading) of rainfall readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"rainfall\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003836", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: reading, depth, value, lon\n Sensor: snow_depth | fields: value, type, depth, reading\nTask: Retrieve level from uv_index that have at least one matching reading in snow_depth sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "level", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003837", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: reading, qc, lon, lat\n Sensor: snow_depth | fields: lat, lon, value, type\nTask: Fetch level from soil_moisture that have at least one corresponding snow_depth measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003838", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lat, depth, unit, lon\n Sensor: pressure | fields: depth, reading, unit, type\nTask: Retrieve lon from uv_index that have at least one matching reading in pressure sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lon", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003839", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: reading, type, level, ts\n Sensor: turbidity | fields: lat, qc, depth, reading\nTask: Get lon from cloud_cover where depth exceeds the count of value from turbidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"turbidity\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003840", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: lon, reading, lat, value\n Sensor: rainfall | fields: ts, lat, depth, reading\nTask: Retrieve level from dew_point that have at least one matching reading in rainfall sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003841", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: lat, value, type, qc\n Sensor: rainfall | fields: lon, reading, value, ts\nTask: Get lon from soil_moisture where a corresponding entry exists in rainfall with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003842", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lat, type, depth, qc\n Sensor: visibility | fields: lon, depth, level, reading\nTask: Retrieve value from wind_speed with value above the MIN(depth) of visibility readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"visibility\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003843", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: unit, value, lon, lat\n Sensor: uv_index | fields: type, qc, depth, level\nTask: Retrieve depth from lightning whose ts is found in uv_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003844", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: depth, reading, qc, lon\n Sensor: wind_speed | fields: depth, qc, unit, lat\nTask: Fetch lat from snow_depth that have at least one corresponding wind_speed measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003845", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lon, lat, qc, level\n Sensor: rainfall | fields: type, unit, reading, level\nTask: Retrieve lat from visibility with reading above the SUM(reading) of rainfall readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"rainfall\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003846", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: value, lat, depth, reading\n Sensor: uv_index | fields: type, lon, reading, depth\nTask: Get value from air_quality where unit appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003847", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: value, depth, type, unit\n Sensor: dew_point | fields: unit, reading, type, level\nTask: Get value from sunlight where a corresponding entry exists in dew_point with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003848", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: reading, value, unit, ts\n Sensor: humidity | fields: level, type, reading, ts\nTask: Retrieve lon from rainfall whose type is found in humidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003849", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: value, ts, depth, lon\n Sensor: humidity | fields: level, type, value, unit\nTask: Retrieve value from pressure that have at least one matching reading in humidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003850", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: depth, lat, reading, value\n Sensor: snow_depth | fields: level, unit, value, reading\nTask: Get depth from dew_point where reading exceeds the minimum depth from snow_depth for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"snow_depth\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003851", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: unit, lon, type, qc\n Sensor: uv_index | fields: lon, ts, reading, level\nTask: Retrieve depth from wind_speed that have at least one matching reading in uv_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003852", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: type, level, value, depth\n Sensor: turbidity | fields: ts, lon, unit, reading\nTask: Get level from drought_index where value exceeds the minimum depth from turbidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"turbidity\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003853", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: level, type, depth, unit\n Sensor: rainfall | fields: qc, lat, unit, depth\nTask: Get lon from uv_index where a corresponding entry exists in rainfall with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lon", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003854", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: qc, type, lon, depth\n Sensor: snow_depth | fields: level, qc, lat, ts\nTask: Fetch reading from frost where depth is greater than the maximum of depth in snow_depth for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"snow_depth\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003855", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: value, type, qc, depth\n Sensor: turbidity | fields: qc, lat, level, ts\nTask: Retrieve reading from rainfall that have at least one matching reading in turbidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003856", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: type, unit, depth, value\n Sensor: frost | fields: ts, qc, type, depth\nTask: Fetch depth from wind_speed where ts exists in frost sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003857", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: value, ts, lon, reading\n Sensor: turbidity | fields: unit, level, ts, reading\nTask: Get lon from pressure where a corresponding entry exists in turbidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003858", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: lon, qc, reading, type\n Sensor: air_quality | fields: unit, level, lon, reading\nTask: Get lat from cloud_cover where ts appears in air_quality readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003859", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: level, unit, value, lon\n Sensor: evaporation | fields: value, level, qc, ts\nTask: Get value from visibility where a corresponding entry exists in evaporation with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003860", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lat, unit, qc, reading\n Sensor: cloud_cover | fields: unit, type, reading, lon\nTask: Get value from air_quality where a corresponding entry exists in cloud_cover with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003861", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: qc, depth, type, ts\n Sensor: frost | fields: lat, depth, ts, unit\nTask: Fetch lon from uv_index where qc exists in frost sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003862", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: qc, depth, ts, type\n Sensor: snow_depth | fields: lat, qc, lon, value\nTask: Fetch level from drought_index that have at least one corresponding snow_depth measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003863", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: reading, unit, value, type\n Sensor: evaporation | fields: type, unit, level, lon\nTask: Retrieve level from snow_depth with reading above the AVG(reading) of evaporation readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003864", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: level, ts, lon, lat\n Sensor: evaporation | fields: lon, ts, type, depth\nTask: Get depth from dew_point where a corresponding entry exists in evaporation with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003865", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: qc, lon, level, depth\n Sensor: air_quality | fields: value, level, qc, depth\nTask: Retrieve value from visibility with depth above the AVG(value) of air_quality readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003866", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: reading, lat, level, ts\n Sensor: dew_point | fields: reading, value, level, depth\nTask: Fetch level from lightning where depth is greater than the total of depth in dew_point for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"dew_point\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003867", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: lat, lon, type, reading\n Sensor: turbidity | fields: lon, type, lat, qc\nTask: Retrieve lat from soil_moisture that have at least one matching reading in turbidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003868", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: unit, depth, qc, reading\n Sensor: wind_speed | fields: ts, lon, unit, value\nTask: Get depth from drought_index where qc appears in wind_speed readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003869", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: depth, qc, level, value\n Sensor: lightning | fields: lat, value, qc, ts\nTask: Fetch lon from wind_speed that have at least one corresponding lightning measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lon", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003870", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lat, type, value, qc\n Sensor: cloud_cover | fields: qc, lon, level, value\nTask: Fetch value from dew_point that have at least one corresponding cloud_cover measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "value", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003871", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: type, ts, lat, lon\n Sensor: turbidity | fields: lat, reading, ts, depth\nTask: Retrieve lat from frost whose depth is found in turbidity records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003872", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: value, type, ts, depth\n Sensor: lightning | fields: depth, lat, level, reading\nTask: Retrieve depth from frost that have at least one matching reading in lightning sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003873", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: reading, unit, qc, depth\n Sensor: soil_moisture | fields: lon, lat, qc, level\nTask: Retrieve level from sunlight with depth above the COUNT(reading) of soil_moisture readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003874", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: reading, level, lon, qc\n Sensor: pressure | fields: value, level, lon, unit\nTask: Retrieve level from snow_depth that have at least one matching reading in pressure sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "level", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003875", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: ts, unit, lat, lon\n Sensor: dew_point | fields: qc, level, depth, unit\nTask: Get lat from turbidity where depth appears in dew_point readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003876", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: ts, value, lon, qc\n Sensor: drought_index | fields: lat, ts, depth, qc\nTask: Retrieve level from dew_point whose depth is found in drought_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003877", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: qc, ts, value, lat\n Sensor: frost | fields: level, depth, reading, lat\nTask: Retrieve lon from rainfall that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003878", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lon, lat, reading, type\n Sensor: uv_index | fields: qc, reading, lat, value\nTask: Fetch value from soil_moisture where reading is greater than the maximum of depth in uv_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003879", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: level, qc, lon, depth\n Sensor: wind_speed | fields: type, value, level, depth\nTask: Retrieve value from cloud_cover that have at least one matching reading in wind_speed sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003880", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: type, value, lat, depth\n Sensor: temperature | fields: depth, level, ts, reading\nTask: Get lon from drought_index where reading exceeds the average depth from temperature for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003881", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: lat, qc, lon, value\n Sensor: lightning | fields: unit, lat, ts, reading\nTask: Fetch level from air_quality where reading is greater than the minimum of reading in lightning for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"lightning\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003882", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: level, lon, qc, ts\n Sensor: sunlight | fields: value, unit, lon, type\nTask: Get lon from wind_speed where a corresponding entry exists in sunlight with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lon", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003883", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: reading, value, lat, depth\n Sensor: visibility | fields: depth, qc, ts, unit\nTask: Fetch level from lightning where depth is greater than the total of depth in visibility for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"visibility\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003884", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: ts, type, qc, reading\n Sensor: wind_speed | fields: ts, reading, value, qc\nTask: Retrieve reading from soil_moisture with depth above the AVG(depth) of wind_speed readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"wind_speed\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003885", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: type, unit, value, lon\n Sensor: rainfall | fields: lat, unit, value, lon\nTask: Get depth from air_quality where reading exceeds the average depth from rainfall for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"rainfall\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003886", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: qc, lon, level, lat\n Sensor: snow_depth | fields: unit, reading, type, ts\nTask: Get reading from air_quality where depth exceeds the count of depth from snow_depth for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"snow_depth\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003887", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lon, value, unit, type\n Sensor: uv_index | fields: unit, lon, ts, type\nTask: Fetch reading from lightning that have at least one corresponding uv_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003888", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: type, reading, ts, value\n Sensor: pressure | fields: depth, unit, level, reading\nTask: Retrieve value from rainfall whose ts is found in pressure records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003889", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: level, unit, lat, depth\n Sensor: dew_point | fields: type, unit, lon, lat\nTask: Fetch value from visibility where depth is greater than the total of depth in dew_point for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"dew_point\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003890", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: unit, ts, lon, qc\n Sensor: drought_index | fields: qc, lat, lon, reading\nTask: Fetch lat from visibility that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003891", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: ts, lon, depth, level\n Sensor: wind_speed | fields: reading, type, value, ts\nTask: Fetch depth from temperature that have at least one corresponding wind_speed measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003892", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: qc, reading, unit, depth\n Sensor: drought_index | fields: lat, type, qc, unit\nTask: Fetch lon from pressure that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003893", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: qc, level, depth, reading\n Sensor: humidity | fields: qc, unit, lon, ts\nTask: Get lat from drought_index where qc appears in humidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003894", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: level, lon, unit, qc\n Sensor: pressure | fields: unit, qc, value, lat\nTask: Retrieve value from uv_index that have at least one matching reading in pressure sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "value", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003895", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: reading, level, lon, ts\n Sensor: wind_speed | fields: qc, lat, depth, value\nTask: Retrieve reading from rainfall with value above the SUM(value) of wind_speed readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003896", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lat, lon, value, level\n Sensor: visibility | fields: value, lat, lon, unit\nTask: Fetch value from humidity where depth exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003897", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: qc, value, level, lat\n Sensor: wind_speed | fields: reading, type, depth, unit\nTask: Fetch reading from cloud_cover that have at least one corresponding wind_speed measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "reading", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003898", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: type, unit, level, lat\n Sensor: air_quality | fields: reading, lat, depth, value\nTask: Get depth from frost where a corresponding entry exists in air_quality with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003899", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: type, lat, lon, qc\n Sensor: sunlight | fields: level, qc, reading, lon\nTask: Fetch level from lightning where depth exists in sunlight sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003900", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: level, unit, depth, qc\n Sensor: drought_index | fields: level, depth, ts, reading\nTask: Retrieve lat from wind_speed that have at least one matching reading in drought_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003901", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: ts, value, lat, qc\n Sensor: cloud_cover | fields: lat, value, type, level\nTask: Fetch reading from sunlight where depth is greater than the maximum of depth in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003902", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: depth, lat, type, value\n Sensor: uv_index | fields: lon, lat, qc, level\nTask: Retrieve depth from temperature whose depth is found in uv_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003903", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: value, reading, ts, lat\n Sensor: dew_point | fields: depth, lat, type, level\nTask: Get reading from wind_speed where ts appears in dew_point readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003904", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: unit, ts, type, qc\n Sensor: drought_index | fields: lat, depth, qc, reading\nTask: Retrieve reading from cloud_cover with reading above the MIN(reading) of drought_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"drought_index\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003905", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: ts, reading, lon, qc\n Sensor: wind_speed | fields: value, lon, reading, depth\nTask: Retrieve value from lightning that have at least one matching reading in wind_speed sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "value", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003906", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: depth, ts, lat, reading\n Sensor: lightning | fields: lon, level, lat, unit\nTask: Get lat from pressure where reading exceeds the minimum depth from lightning for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"lightning\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003907", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: unit, type, ts, qc\n Sensor: visibility | fields: reading, lon, ts, value\nTask: Fetch reading from uv_index where unit exists in visibility sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003908", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: qc, level, lon, reading\n Sensor: rainfall | fields: type, unit, depth, value\nTask: Get depth from snow_depth where type appears in rainfall readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003909", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: qc, lon, depth, ts\n Sensor: frost | fields: depth, ts, level, lat\nTask: Get value from humidity where value exceeds the count of reading from frost for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003910", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: lon, depth, qc, value\n Sensor: drought_index | fields: depth, lat, value, level\nTask: Fetch value from temperature where reading is greater than the total of reading in drought_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003911", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: depth, ts, reading, level\n Sensor: pressure | fields: value, lat, lon, unit\nTask: Get value from cloud_cover where a corresponding entry exists in pressure with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003912", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: type, value, depth, lon\n Sensor: pressure | fields: level, type, unit, value\nTask: Fetch depth from temperature that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003913", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: ts, reading, value, type\n Sensor: frost | fields: type, depth, qc, lon\nTask: Retrieve value from wind_speed whose qc is found in frost records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003914", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lat, lon, level, unit\n Sensor: drought_index | fields: lat, level, unit, type\nTask: Retrieve level from turbidity with depth above the MIN(value) of drought_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"drought_index\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003915", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: level, ts, type, lat\n Sensor: humidity | fields: qc, ts, lon, level\nTask: Retrieve lon from lightning that have at least one matching reading in humidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lon", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003916", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: lat, depth, reading, unit\n Sensor: humidity | fields: unit, value, depth, level\nTask: Fetch reading from snow_depth where depth is greater than the average of depth in humidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"humidity\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003917", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: depth, lat, ts, qc\n Sensor: temperature | fields: depth, ts, lon, type\nTask: Fetch lat from turbidity where type exists in temperature sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003918", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: depth, level, type, lon\n Sensor: soil_moisture | fields: depth, qc, lat, type\nTask: Fetch depth from sunlight where qc exists in soil_moisture sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003919", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: level, lat, depth, unit\n Sensor: uv_index | fields: value, lon, lat, unit\nTask: Get lon from pressure where depth exceeds the maximum reading from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"uv_index\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003920", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: depth, reading, qc, unit\n Sensor: air_quality | fields: depth, ts, value, lon\nTask: Fetch depth from soil_moisture where value is greater than the minimum of value in air_quality for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"air_quality\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003921", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: lon, level, lat, reading\n Sensor: temperature | fields: value, qc, ts, lon\nTask: Retrieve level from humidity whose qc is found in temperature records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003922", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: value, depth, unit, qc\n Sensor: dew_point | fields: qc, ts, level, value\nTask: Fetch lon from uv_index where depth is greater than the average of depth in dew_point for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"dew_point\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003923", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: depth, level, ts, reading\n Sensor: rainfall | fields: level, reading, qc, lat\nTask: Fetch lon from evaporation that have at least one corresponding rainfall measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003924", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: reading, lat, unit, qc\n Sensor: frost | fields: lon, unit, qc, lat\nTask: Fetch lat from snow_depth that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lat", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003925", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: value, lon, type, ts\n Sensor: humidity | fields: ts, lon, qc, reading\nTask: Fetch reading from wind_speed that have at least one corresponding humidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003926", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: unit, reading, ts, lat\n Sensor: cloud_cover | fields: ts, level, lat, value\nTask: Get reading from air_quality where qc appears in cloud_cover readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003927", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: reading, type, value, lon\n Sensor: frost | fields: lon, ts, level, depth\nTask: Fetch level from air_quality where depth is greater than the total of depth in frost for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003928", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: unit, depth, ts, level\n Sensor: soil_moisture | fields: lon, depth, value, qc\nTask: Retrieve lon from drought_index whose qc is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003929", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: depth, lat, value, unit\n Sensor: frost | fields: unit, lon, reading, lat\nTask: Get value from visibility where reading exceeds the count of depth from frost for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"frost\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003930", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: lat, lon, type, level\n Sensor: rainfall | fields: unit, value, level, ts\nTask: Get lon from frost where depth exceeds the total reading from rainfall for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"rainfall\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003931", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: qc, ts, depth, type\n Sensor: pressure | fields: type, lat, ts, unit\nTask: Fetch value from rainfall where depth exists in pressure sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003932", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lon, value, level, qc\n Sensor: evaporation | fields: lon, qc, ts, reading\nTask: Get value from dew_point where a corresponding entry exists in evaporation with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003933", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: ts, qc, reading, value\n Sensor: drought_index | fields: ts, lat, qc, value\nTask: Fetch value from turbidity where type exists in drought_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003934", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: reading, qc, value, lat\n Sensor: wind_speed | fields: reading, unit, qc, lon\nTask: Fetch lon from humidity that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003935", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: unit, depth, type, value\n Sensor: snow_depth | fields: depth, ts, level, lat\nTask: Fetch lon from uv_index where ts exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003936", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: value, level, reading, depth\n Sensor: sunlight | fields: level, unit, depth, ts\nTask: Fetch lon from pressure where qc exists in sunlight sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003937", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: depth, lat, qc, level\n Sensor: temperature | fields: value, unit, level, lat\nTask: Retrieve reading from snow_depth that have at least one matching reading in temperature sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "reading", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003938", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lat, depth, reading, unit\n Sensor: air_quality | fields: value, level, lon, type\nTask: Get reading from visibility where depth exceeds the minimum value from air_quality for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003939", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: unit, value, reading, level\n Sensor: humidity | fields: lon, value, unit, lat\nTask: Get lat from dew_point where depth exceeds the maximum depth from humidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003940", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: reading, unit, ts, depth\n Sensor: sunlight | fields: value, depth, lon, qc\nTask: Retrieve depth from lightning that have at least one matching reading in sunlight sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003941", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: lon, lat, level, reading\n Sensor: humidity | fields: type, ts, unit, depth\nTask: Retrieve lat from frost with value above the MIN(value) of humidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"humidity\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003942", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: value, reading, type, unit\n Sensor: humidity | fields: lat, qc, ts, level\nTask: Retrieve depth from rainfall that have at least one matching reading in humidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003943", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: ts, unit, reading, lat\n Sensor: evaporation | fields: unit, qc, value, lat\nTask: Retrieve value from lightning whose ts is found in evaporation records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003944", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: qc, ts, unit, lon\n Sensor: snow_depth | fields: reading, unit, value, qc\nTask: Get depth from pressure where a corresponding entry exists in snow_depth with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003945", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: unit, value, ts, type\n Sensor: rainfall | fields: reading, ts, lon, level\nTask: Fetch reading from sunlight where value is greater than the minimum of depth in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"rainfall\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003946", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: ts, value, lat, reading\n Sensor: visibility | fields: reading, depth, ts, qc\nTask: Get value from lightning where reading exceeds the total reading from visibility for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"visibility\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003947", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: level, value, reading, type\n Sensor: evaporation | fields: type, qc, level, value\nTask: Retrieve value from rainfall with depth above the AVG(value) of evaporation readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"evaporation\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003948", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: level, type, unit, reading\n Sensor: wind_speed | fields: value, level, qc, unit\nTask: Fetch lon from air_quality where ts exists in wind_speed sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003949", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: qc, reading, ts, type\n Sensor: pressure | fields: level, ts, lon, depth\nTask: Retrieve depth from uv_index that have at least one matching reading in pressure sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003950", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: reading, value, lon, depth\n Sensor: rainfall | fields: ts, reading, qc, type\nTask: Get level from wind_speed where ts appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003951", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: depth, lat, unit, type\n Sensor: lightning | fields: type, reading, ts, lon\nTask: Get lon from temperature where unit appears in lightning readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003952", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: value, unit, reading, qc\n Sensor: soil_moisture | fields: reading, level, unit, qc\nTask: Retrieve value from rainfall that have at least one matching reading in soil_moisture sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "value", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003953", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: ts, level, lon, depth\n Sensor: dew_point | fields: ts, qc, depth, lat\nTask: Get lat from temperature where a corresponding entry exists in dew_point with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003954", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: lat, level, depth, ts\n Sensor: pressure | fields: qc, level, lat, unit\nTask: Retrieve depth from turbidity that have at least one matching reading in pressure sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003955", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: value, type, lon, level\n Sensor: lightning | fields: ts, qc, lat, value\nTask: Retrieve value from evaporation that have at least one matching reading in lightning sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "value", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003956", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: ts, value, level, lat\n Sensor: temperature | fields: lon, qc, type, ts\nTask: Retrieve lat from turbidity whose ts is found in temperature records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003957", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: reading, value, lon, lat\n Sensor: air_quality | fields: depth, value, qc, lat\nTask: Retrieve lat from lightning that have at least one matching reading in air_quality sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lat", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003958", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: depth, unit, ts, reading\n Sensor: air_quality | fields: level, reading, ts, lon\nTask: Fetch depth from visibility where depth is greater than the maximum of value in air_quality for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"air_quality\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003959", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: ts, level, reading, lat\n Sensor: visibility | fields: value, reading, unit, qc\nTask: Fetch reading from uv_index where ts exists in visibility sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003960", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: qc, lon, value, type\n Sensor: sunlight | fields: lon, value, level, ts\nTask: Fetch value from wind_speed that have at least one corresponding sunlight measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "value", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003961", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: level, type, qc, ts\n Sensor: drought_index | fields: lat, reading, ts, level\nTask: Retrieve depth from snow_depth that have at least one matching reading in drought_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003962", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: unit, ts, lon, level\n Sensor: lightning | fields: type, reading, qc, value\nTask: Get level from air_quality where value exceeds the average depth from lightning for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"lightning\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003963", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: unit, value, type, qc\n Sensor: evaporation | fields: unit, lat, qc, value\nTask: Fetch reading from dew_point where value is greater than the average of value in evaporation for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"evaporation\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003964", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: ts, level, type, depth\n Sensor: evaporation | fields: level, reading, type, ts\nTask: Get level from sunlight where reading exceeds the average reading from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003965", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: unit, value, lat, ts\n Sensor: frost | fields: lon, ts, unit, lat\nTask: Fetch lon from lightning where type exists in frost sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003966", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: type, reading, depth, qc\n Sensor: frost | fields: value, unit, reading, depth\nTask: Retrieve reading from cloud_cover with value above the COUNT(depth) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003967", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: value, level, ts, lat\n Sensor: soil_moisture | fields: unit, value, type, lat\nTask: Retrieve depth from humidity whose ts is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003968", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lon, depth, lat, type\n Sensor: pressure | fields: qc, lat, type, reading\nTask: Fetch lat from sunlight where type exists in pressure sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003969", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: type, value, ts, level\n Sensor: temperature | fields: unit, ts, lat, depth\nTask: Get lon from humidity where unit appears in temperature readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003970", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: level, ts, value, depth\n Sensor: lightning | fields: ts, type, value, qc\nTask: Retrieve value from sunlight that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003971", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lon, unit, type, level\n Sensor: cloud_cover | fields: type, value, unit, ts\nTask: Fetch reading from temperature where depth is greater than the minimum of reading in cloud_cover for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003972", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: qc, unit, lat, reading\n Sensor: pressure | fields: type, depth, value, qc\nTask: Fetch value from lightning where type exists in pressure sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003973", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lat, reading, level, qc\n Sensor: cloud_cover | fields: lat, level, unit, depth\nTask: Retrieve level from turbidity whose ts is found in cloud_cover records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003974", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: lon, value, qc, unit\n Sensor: cloud_cover | fields: qc, level, ts, lat\nTask: Get depth from air_quality where qc appears in cloud_cover readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003975", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: qc, depth, type, ts\n Sensor: soil_moisture | fields: type, lon, depth, value\nTask: Retrieve lat from frost with reading above the SUM(reading) of soil_moisture readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003976", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: value, reading, unit, lat\n Sensor: cloud_cover | fields: lon, lat, reading, type\nTask: Fetch depth from dew_point that have at least one corresponding cloud_cover measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003977", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: type, level, unit, ts\n Sensor: pressure | fields: lon, qc, type, depth\nTask: Retrieve value from temperature whose depth is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003978", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: reading, ts, lon, level\n Sensor: pressure | fields: depth, reading, qc, type\nTask: Retrieve lon from uv_index with value above the SUM(reading) of pressure readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"pressure\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_003979", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lon, lat, depth, unit\n Sensor: air_quality | fields: qc, value, unit, ts\nTask: Get level from humidity where depth exceeds the average reading from air_quality for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"air_quality\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003980", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: level, depth, lon, type\n Sensor: temperature | fields: qc, lat, reading, unit\nTask: Retrieve level from uv_index with reading above the COUNT(value) of temperature readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"temperature\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003981", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lon, qc, type, lat\n Sensor: rainfall | fields: level, qc, lat, type\nTask: Retrieve depth from sunlight that have at least one matching reading in rainfall sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003982", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: ts, lat, value, level\n Sensor: air_quality | fields: level, ts, type, qc\nTask: Retrieve level from rainfall whose ts is found in air_quality records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003983", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: qc, value, reading, type\n Sensor: soil_moisture | fields: level, lat, type, ts\nTask: Fetch lat from drought_index where value is greater than the minimum of value in soil_moisture for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"soil_moisture\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003984", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: lon, value, type, unit\n Sensor: uv_index | fields: depth, lon, ts, type\nTask: Fetch depth from frost where ts exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003985", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: reading, lat, type, qc\n Sensor: humidity | fields: reading, unit, depth, lon\nTask: Retrieve lon from soil_moisture with value above the MAX(depth) of humidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003986", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: ts, lat, lon, depth\n Sensor: lightning | fields: reading, type, depth, lon\nTask: Fetch depth from turbidity that have at least one corresponding lightning measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003987", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lon, lat, reading, depth\n Sensor: visibility | fields: depth, unit, qc, level\nTask: Get lat from temperature where depth exceeds the minimum depth from visibility for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"visibility\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003988", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: ts, lat, lon, value\n Sensor: air_quality | fields: type, unit, lon, reading\nTask: Retrieve level from frost whose unit is found in air_quality records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003989", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: level, qc, value, reading\n Sensor: humidity | fields: reading, lat, ts, level\nTask: Fetch depth from frost where value is greater than the minimum of reading in humidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003990", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: reading, lat, qc, level\n Sensor: evaporation | fields: reading, level, unit, qc\nTask: Retrieve lon from pressure with reading above the MAX(depth) of evaporation readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"evaporation\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003991", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lon, level, ts, unit\n Sensor: frost | fields: type, lat, value, reading\nTask: Get reading from humidity where value exceeds the total depth from frost for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003992", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lon, type, unit, depth\n Sensor: sunlight | fields: unit, reading, lon, value\nTask: Fetch lon from visibility where depth is greater than the total of depth in sunlight for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"sunlight\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003993", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lat, unit, ts, reading\n Sensor: snow_depth | fields: qc, reading, lat, depth\nTask: Retrieve depth from lightning whose qc is found in snow_depth records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003994", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: ts, lat, unit, reading\n Sensor: humidity | fields: type, depth, value, level\nTask: Retrieve depth from wind_speed whose unit is found in humidity records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003995", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: qc, ts, lon, lat\n Sensor: humidity | fields: depth, lon, level, qc\nTask: Get lat from temperature where a corresponding entry exists in humidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lat", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003996", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: value, reading, lat, ts\n Sensor: air_quality | fields: lon, unit, level, qc\nTask: Fetch reading from temperature where depth exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003997", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: reading, level, type, depth\n Sensor: dew_point | fields: type, reading, qc, level\nTask: Fetch level from lightning where value is greater than the total of value in dew_point for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"dew_point\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003998", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: ts, type, qc, level\n Sensor: dew_point | fields: qc, type, ts, lat\nTask: Fetch reading from uv_index where value is greater than the average of value in dew_point for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"dew_point\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_003999", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: type, value, depth, ts\n Sensor: turbidity | fields: depth, type, lat, lon\nTask: Retrieve reading from pressure whose depth is found in turbidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004000", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lat, type, value, qc\n Sensor: frost | fields: lat, level, value, ts\nTask: Fetch reading from turbidity that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004001", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: type, qc, unit, value\n Sensor: evaporation | fields: level, reading, ts, value\nTask: Get reading from sunlight where reading exceeds the maximum reading from evaporation for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"evaporation\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004002", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: depth, qc, level, lat\n Sensor: frost | fields: lon, reading, level, ts\nTask: Retrieve lon from snow_depth with value above the SUM(depth) of frost readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"frost\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004003", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: depth, reading, lon, unit\n Sensor: turbidity | fields: value, lon, depth, lat\nTask: Fetch reading from soil_moisture where ts exists in turbidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004004", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: lon, value, lat, ts\n Sensor: snow_depth | fields: value, lon, level, lat\nTask: Get lon from cloud_cover where a corresponding entry exists in snow_depth with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lon", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004005", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: type, depth, ts, lon\n Sensor: dew_point | fields: level, qc, lon, reading\nTask: Fetch depth from drought_index where depth exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004006", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: lat, ts, lon, value\n Sensor: snow_depth | fields: ts, qc, depth, value\nTask: Get value from cloud_cover where qc appears in snow_depth readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004007", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lat, type, ts, lon\n Sensor: air_quality | fields: value, unit, qc, reading\nTask: Fetch level from uv_index where ts exists in air_quality sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004008", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: value, type, lat, depth\n Sensor: pressure | fields: unit, type, qc, reading\nTask: Fetch reading from temperature where ts exists in pressure sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004009", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: qc, reading, value, level\n Sensor: temperature | fields: lat, unit, lon, qc\nTask: Fetch lon from rainfall that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004010", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: type, depth, reading, ts\n Sensor: frost | fields: level, lat, lon, depth\nTask: Fetch depth from pressure that have at least one corresponding frost measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004011", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: type, level, depth, lon\n Sensor: visibility | fields: ts, type, unit, qc\nTask: Retrieve reading from sunlight that have at least one matching reading in visibility sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004012", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: value, level, lon, unit\n Sensor: lightning | fields: qc, lon, reading, lat\nTask: Get lat from visibility where depth exceeds the count of depth from lightning for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"lightning\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004013", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: qc, value, reading, lon\n Sensor: wind_speed | fields: value, reading, qc, lat\nTask: Fetch depth from turbidity where qc exists in wind_speed sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004014", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: depth, type, qc, value\n Sensor: snow_depth | fields: lat, ts, value, level\nTask: Retrieve lat from uv_index whose ts is found in snow_depth records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004015", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: lon, level, ts, depth\n Sensor: air_quality | fields: reading, type, ts, depth\nTask: Fetch level from frost where ts exists in air_quality sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004016", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: value, lat, level, type\n Sensor: cloud_cover | fields: type, reading, lat, ts\nTask: Fetch value from air_quality where reading is greater than the average of depth in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004017", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: ts, value, lon, type\n Sensor: air_quality | fields: qc, ts, value, lon\nTask: Get reading from rainfall where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004018", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: unit, type, value, depth\n Sensor: evaporation | fields: type, unit, lat, value\nTask: Fetch reading from dew_point that have at least one corresponding evaporation measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004019", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: level, lon, depth, lat\n Sensor: sunlight | fields: level, qc, type, reading\nTask: Fetch value from evaporation where reading is greater than the average of reading in sunlight for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"sunlight\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004020", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: type, level, lon, value\n Sensor: air_quality | fields: depth, qc, lon, unit\nTask: Get level from turbidity where depth exceeds the count of reading from air_quality for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"air_quality\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004021", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: lat, type, lon, depth\n Sensor: pressure | fields: value, lat, depth, level\nTask: Fetch reading from air_quality where unit exists in pressure sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004022", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: depth, lat, ts, value\n Sensor: snow_depth | fields: depth, qc, ts, type\nTask: Fetch reading from frost where type exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004023", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lat, value, ts, type\n Sensor: temperature | fields: unit, type, reading, depth\nTask: Retrieve depth from sunlight whose unit is found in temperature records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004024", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: value, level, depth, ts\n Sensor: frost | fields: type, qc, lon, unit\nTask: Retrieve lon from humidity whose ts is found in frost records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004025", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lon, depth, lat, qc\n Sensor: pressure | fields: lat, unit, depth, lon\nTask: Get level from drought_index where qc appears in pressure readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004026", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: ts, qc, reading, level\n Sensor: cloud_cover | fields: depth, lat, qc, reading\nTask: Retrieve depth from drought_index whose ts is found in cloud_cover records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004027", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: lon, reading, value, type\n Sensor: evaporation | fields: unit, lon, qc, reading\nTask: Retrieve depth from turbidity whose qc is found in evaporation records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004028", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: ts, unit, depth, reading\n Sensor: sunlight | fields: type, ts, reading, qc\nTask: Fetch value from evaporation where ts exists in sunlight sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004029", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: type, qc, value, lat\n Sensor: soil_moisture | fields: unit, qc, type, value\nTask: Get depth from evaporation where reading exceeds the maximum depth from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004030", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: lat, depth, lon, level\n Sensor: wind_speed | fields: qc, level, reading, depth\nTask: Get reading from drought_index where value exceeds the average depth from wind_speed for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"wind_speed\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004031", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: qc, lat, lon, depth\n Sensor: wind_speed | fields: unit, reading, level, lon\nTask: Get lat from snow_depth where a corresponding entry exists in wind_speed with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004032", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lat, qc, depth, value\n Sensor: frost | fields: level, lon, type, ts\nTask: Retrieve depth from humidity with reading above the AVG(value) of frost readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"frost\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004033", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: unit, level, reading, qc\n Sensor: dew_point | fields: unit, reading, qc, lon\nTask: Fetch level from drought_index that have at least one corresponding dew_point measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "level", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004034", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: ts, value, level, unit\n Sensor: humidity | fields: depth, lat, qc, reading\nTask: Fetch reading from pressure where value is greater than the minimum of depth in humidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"humidity\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004035", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: lat, ts, qc, value\n Sensor: soil_moisture | fields: unit, value, type, lon\nTask: Get level from drought_index where depth exceeds the total value from soil_moisture for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004036", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: value, unit, qc, lon\n Sensor: air_quality | fields: ts, lon, depth, qc\nTask: Get level from frost where unit appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004037", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: ts, type, depth, lat\n Sensor: visibility | fields: unit, type, lon, reading\nTask: Fetch lat from sunlight where qc exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004038", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: lon, unit, type, reading\n Sensor: visibility | fields: level, unit, value, ts\nTask: Retrieve reading from turbidity with reading above the COUNT(depth) of visibility readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004039", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: level, ts, reading, depth\n Sensor: frost | fields: reading, level, qc, lon\nTask: Retrieve depth from sunlight that have at least one matching reading in frost sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004040", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: ts, value, reading, lon\n Sensor: frost | fields: unit, ts, reading, level\nTask: Fetch lon from humidity where ts exists in frost sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004041", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: qc, unit, level, lat\n Sensor: drought_index | fields: type, value, depth, unit\nTask: Get lat from temperature where reading exceeds the count of depth from drought_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004042", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: level, ts, value, reading\n Sensor: evaporation | fields: ts, lon, qc, unit\nTask: Get value from frost where reading exceeds the average value from evaporation for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"evaporation\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004043", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: unit, type, ts, qc\n Sensor: drought_index | fields: type, reading, value, depth\nTask: Retrieve reading from soil_moisture whose type is found in drought_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004044", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: value, lon, unit, depth\n Sensor: rainfall | fields: value, type, level, lon\nTask: Fetch value from wind_speed that have at least one corresponding rainfall measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "value", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004045", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: type, level, unit, lon\n Sensor: evaporation | fields: level, lat, type, unit\nTask: Retrieve value from humidity that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "value", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004046", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: unit, value, type, ts\n Sensor: snow_depth | fields: lat, depth, qc, unit\nTask: Get value from wind_speed where depth exceeds the maximum reading from snow_depth for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004047", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: ts, qc, lat, type\n Sensor: soil_moisture | fields: unit, ts, qc, type\nTask: Get reading from sunlight where depth exceeds the maximum reading from soil_moisture for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004048", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: lon, level, unit, reading\n Sensor: soil_moisture | fields: unit, type, depth, reading\nTask: Fetch lat from rainfall where ts exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004049", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lat, qc, lon, unit\n Sensor: turbidity | fields: lon, ts, value, type\nTask: Fetch depth from sunlight that have at least one corresponding turbidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004050", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: ts, qc, value, lat\n Sensor: frost | fields: lon, level, reading, unit\nTask: Retrieve value from sunlight whose qc is found in frost records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004051", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: lat, lon, value, qc\n Sensor: lightning | fields: depth, unit, level, reading\nTask: Retrieve depth from turbidity whose qc is found in lightning records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004052", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: value, qc, lat, unit\n Sensor: uv_index | fields: value, ts, unit, depth\nTask: Fetch lon from drought_index where value is greater than the count of of value in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"uv_index\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004053", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: level, lon, qc, depth\n Sensor: humidity | fields: lat, reading, qc, unit\nTask: Get level from soil_moisture where type appears in humidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004054", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: qc, lat, type, value\n Sensor: uv_index | fields: lon, level, lat, qc\nTask: Retrieve value from soil_moisture with reading above the AVG(depth) of uv_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"uv_index\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004055", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lon, type, ts, value\n Sensor: rainfall | fields: type, unit, lat, reading\nTask: Retrieve lon from pressure that have at least one matching reading in rainfall sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004056", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: value, depth, type, level\n Sensor: pressure | fields: depth, reading, level, type\nTask: Get level from cloud_cover where qc appears in pressure readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004057", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: value, lon, depth, level\n Sensor: turbidity | fields: lon, ts, unit, lat\nTask: Fetch lat from air_quality that have at least one corresponding turbidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lat", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004058", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: unit, lon, lat, qc\n Sensor: temperature | fields: qc, value, level, lat\nTask: Get value from pressure where a corresponding entry exists in temperature with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004059", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: type, depth, qc, lon\n Sensor: pressure | fields: ts, level, reading, type\nTask: Get value from uv_index where depth appears in pressure readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004060", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: level, reading, qc, lon\n Sensor: rainfall | fields: reading, unit, qc, ts\nTask: Fetch lat from temperature that have at least one corresponding rainfall measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004061", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: unit, depth, qc, value\n Sensor: wind_speed | fields: unit, qc, lon, type\nTask: Fetch lat from evaporation that have at least one corresponding wind_speed measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lat", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004062", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: unit, lat, reading, depth\n Sensor: wind_speed | fields: type, qc, ts, depth\nTask: Retrieve lat from soil_moisture whose type is found in wind_speed records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004063", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: level, reading, depth, ts\n Sensor: snow_depth | fields: reading, type, unit, depth\nTask: Fetch reading from cloud_cover where unit exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004064", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: reading, type, level, unit\n Sensor: rainfall | fields: ts, unit, depth, value\nTask: Retrieve lat from sunlight whose type is found in rainfall records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004065", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: qc, type, value, ts\n Sensor: turbidity | fields: reading, depth, qc, level\nTask: Fetch value from pressure where ts exists in turbidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004066", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lat, qc, depth, ts\n Sensor: soil_moisture | fields: lat, reading, value, depth\nTask: Retrieve value from dew_point with value above the COUNT(value) of soil_moisture readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"soil_moisture\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004067", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: qc, depth, ts, type\n Sensor: wind_speed | fields: qc, value, depth, level\nTask: Get reading from air_quality where depth exceeds the count of value from wind_speed for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"wind_speed\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004068", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: ts, lat, reading, value\n Sensor: wind_speed | fields: value, unit, type, level\nTask: Fetch depth from humidity where reading is greater than the count of of reading in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"wind_speed\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004069", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: qc, ts, lon, type\n Sensor: uv_index | fields: ts, reading, value, depth\nTask: Get lon from pressure where type appears in uv_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004070", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: depth, level, reading, type\n Sensor: evaporation | fields: depth, qc, value, lat\nTask: Get value from wind_speed where depth exceeds the total reading from evaporation for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"evaporation\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004071", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: lon, value, ts, lat\n Sensor: lightning | fields: reading, lat, ts, depth\nTask: Get reading from dew_point where reading exceeds the count of depth from lightning for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"lightning\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004072", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: unit, value, depth, qc\n Sensor: air_quality | fields: unit, value, qc, ts\nTask: Get level from pressure where value exceeds the total depth from air_quality for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004073", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lat, level, ts, depth\n Sensor: visibility | fields: unit, type, value, ts\nTask: Retrieve level from drought_index whose ts is found in visibility records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004074", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: value, type, lat, qc\n Sensor: frost | fields: type, level, unit, ts\nTask: Retrieve level from temperature whose type is found in frost records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004075", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: type, level, ts, value\n Sensor: turbidity | fields: type, value, reading, lat\nTask: Get depth from pressure where a corresponding entry exists in turbidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004076", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: level, unit, reading, qc\n Sensor: visibility | fields: depth, ts, type, lat\nTask: Fetch value from drought_index where value is greater than the minimum of value in visibility for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"visibility\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004077", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: value, qc, unit, lat\n Sensor: temperature | fields: reading, qc, ts, lat\nTask: Retrieve depth from cloud_cover whose unit is found in temperature records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004078", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: depth, lon, ts, qc\n Sensor: pressure | fields: level, type, ts, qc\nTask: Get depth from uv_index where reading exceeds the average depth from pressure for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"pressure\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004079", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: type, reading, value, unit\n Sensor: frost | fields: value, depth, level, ts\nTask: Fetch lat from snow_depth where depth is greater than the count of of depth in frost for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"frost\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004080", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lon, ts, type, unit\n Sensor: air_quality | fields: depth, unit, value, reading\nTask: Get depth from temperature where a corresponding entry exists in air_quality with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004081", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: qc, unit, type, value\n Sensor: pressure | fields: level, lat, reading, lon\nTask: Retrieve value from drought_index that have at least one matching reading in pressure sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "value", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004082", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: ts, depth, unit, qc\n Sensor: pressure | fields: value, depth, qc, lon\nTask: Fetch level from sunlight that have at least one corresponding pressure measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004083", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lon, unit, ts, level\n Sensor: humidity | fields: lat, unit, type, reading\nTask: Get lon from dew_point where depth appears in humidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004084", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: level, value, type, reading\n Sensor: uv_index | fields: lat, depth, unit, type\nTask: Fetch lon from turbidity where depth is greater than the count of of reading in uv_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"uv_index\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004085", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: ts, qc, reading, level\n Sensor: soil_moisture | fields: type, unit, depth, level\nTask: Get lat from cloud_cover where a corresponding entry exists in soil_moisture with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lat", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004086", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: qc, reading, lat, level\n Sensor: frost | fields: value, level, lon, ts\nTask: Retrieve value from turbidity whose qc is found in frost records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004087", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: ts, depth, unit, level\n Sensor: lightning | fields: lat, unit, level, lon\nTask: Fetch lat from frost that have at least one corresponding lightning measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004088", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: lon, lat, qc, depth\n Sensor: uv_index | fields: value, lat, depth, ts\nTask: Retrieve lat from evaporation with value above the MAX(depth) of uv_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"uv_index\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004089", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: depth, qc, level, unit\n Sensor: pressure | fields: reading, unit, value, level\nTask: Fetch level from frost where value is greater than the maximum of value in pressure for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"pressure\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004090", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: level, lat, depth, reading\n Sensor: evaporation | fields: qc, reading, lat, depth\nTask: Retrieve value from pressure that have at least one matching reading in evaporation sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "value", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004091", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: level, ts, type, reading\n Sensor: evaporation | fields: lon, depth, qc, value\nTask: Retrieve depth from snow_depth that have at least one matching reading in evaporation sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004092", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: depth, unit, reading, lat\n Sensor: snow_depth | fields: ts, reading, type, lon\nTask: Fetch lat from frost where value is greater than the total of value in snow_depth for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"snow_depth\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004093", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lon, qc, unit, level\n Sensor: rainfall | fields: reading, qc, unit, type\nTask: Retrieve reading from dew_point with depth above the AVG(value) of rainfall readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"rainfall\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004094", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: depth, level, type, lon\n Sensor: wind_speed | fields: value, depth, unit, reading\nTask: Fetch value from temperature that have at least one corresponding wind_speed measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004095", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: qc, ts, type, unit\n Sensor: rainfall | fields: value, level, type, ts\nTask: Fetch reading from temperature that have at least one corresponding rainfall measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004096", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: lon, value, type, ts\n Sensor: visibility | fields: value, lon, lat, reading\nTask: Fetch lon from temperature where qc exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004097", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: reading, unit, type, level\n Sensor: wind_speed | fields: unit, level, ts, type\nTask: Fetch reading from turbidity where type exists in wind_speed sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004098", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: type, lon, reading, unit\n Sensor: soil_moisture | fields: reading, depth, ts, type\nTask: Get reading from dew_point where reading exceeds the total reading from soil_moisture for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004099", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: ts, level, unit, lon\n Sensor: pressure | fields: reading, lon, unit, depth\nTask: Fetch lon from frost that have at least one corresponding pressure measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lon", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004100", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: unit, lon, value, level\n Sensor: humidity | fields: reading, value, depth, ts\nTask: Fetch depth from snow_depth where depth exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004101", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: reading, unit, depth, level\n Sensor: uv_index | fields: depth, lon, type, reading\nTask: Retrieve level from snow_depth whose ts is found in uv_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004102", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: depth, qc, level, type\n Sensor: pressure | fields: type, depth, lon, lat\nTask: Retrieve lon from snow_depth that have at least one matching reading in pressure sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lon", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004103", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: reading, ts, depth, type\n Sensor: wind_speed | fields: depth, lat, value, level\nTask: Retrieve value from turbidity whose ts is found in wind_speed records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004104", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: value, reading, qc, ts\n Sensor: humidity | fields: lat, qc, depth, level\nTask: Get level from cloud_cover where value exceeds the minimum value from humidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"humidity\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004105", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: level, reading, ts, type\n Sensor: evaporation | fields: value, type, level, lat\nTask: Get reading from cloud_cover where reading exceeds the maximum reading from evaporation for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"evaporation\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004106", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: value, unit, type, reading\n Sensor: pressure | fields: value, ts, type, unit\nTask: Fetch reading from evaporation where qc exists in pressure sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004107", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: type, ts, lon, depth\n Sensor: drought_index | fields: unit, level, qc, type\nTask: Retrieve reading from dew_point whose depth is found in drought_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004108", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lat, ts, depth, unit\n Sensor: humidity | fields: qc, lat, value, type\nTask: Retrieve depth from dew_point with value above the COUNT(depth) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"humidity\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004109", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: value, lat, qc, unit\n Sensor: visibility | fields: qc, reading, type, depth\nTask: Fetch value from lightning that have at least one corresponding visibility measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004110", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: reading, depth, type, level\n Sensor: wind_speed | fields: value, type, unit, lat\nTask: Retrieve lon from frost whose type is found in wind_speed records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004111", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: depth, ts, lat, level\n Sensor: rainfall | fields: qc, unit, lon, depth\nTask: Get lon from visibility where reading exceeds the total depth from rainfall for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"rainfall\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004112", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: qc, lon, unit, value\n Sensor: wind_speed | fields: ts, value, reading, qc\nTask: Retrieve value from drought_index whose ts is found in wind_speed records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004113", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: level, reading, unit, ts\n Sensor: evaporation | fields: type, value, level, depth\nTask: Fetch reading from soil_moisture where type exists in evaporation sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004114", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: depth, type, qc, lat\n Sensor: temperature | fields: lat, qc, ts, unit\nTask: Retrieve level from dew_point that have at least one matching reading in temperature sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "level", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004115", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: value, qc, lat, ts\n Sensor: dew_point | fields: lon, unit, reading, level\nTask: Fetch depth from humidity where type exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004116", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: lon, depth, level, unit\n Sensor: visibility | fields: qc, value, reading, lat\nTask: Fetch lat from cloud_cover where unit exists in visibility sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004117", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: level, type, reading, ts\n Sensor: evaporation | fields: reading, lat, ts, value\nTask: Get lat from soil_moisture where depth exceeds the total value from evaporation for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"evaporation\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004118", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: type, value, unit, lat\n Sensor: turbidity | fields: reading, value, level, type\nTask: Retrieve level from humidity whose ts is found in turbidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004119", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: ts, level, depth, lon\n Sensor: air_quality | fields: level, lon, unit, lat\nTask: Get reading from snow_depth where a corresponding entry exists in air_quality with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004120", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: value, ts, qc, unit\n Sensor: air_quality | fields: reading, ts, lat, unit\nTask: Retrieve value from frost that have at least one matching reading in air_quality sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004121", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lon, reading, level, qc\n Sensor: temperature | fields: reading, value, lat, lon\nTask: Get lat from lightning where depth appears in temperature readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004122", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: unit, lat, qc, depth\n Sensor: sunlight | fields: lon, reading, ts, unit\nTask: Retrieve reading from soil_moisture that have at least one matching reading in sunlight sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "reading", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004123", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: value, qc, lat, depth\n Sensor: drought_index | fields: qc, reading, unit, value\nTask: Fetch value from cloud_cover that have at least one corresponding drought_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "value", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004124", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: ts, qc, value, depth\n Sensor: pressure | fields: unit, ts, lon, depth\nTask: Get lat from drought_index where a corresponding entry exists in pressure with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004125", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: depth, unit, lat, type\n Sensor: turbidity | fields: reading, lat, depth, ts\nTask: Retrieve value from uv_index that have at least one matching reading in turbidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004126", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: reading, qc, ts, lon\n Sensor: turbidity | fields: type, value, lon, ts\nTask: Fetch reading from rainfall that have at least one corresponding turbidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004127", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: depth, lat, lon, level\n Sensor: snow_depth | fields: type, depth, value, reading\nTask: Fetch lat from drought_index where depth is greater than the count of of reading in snow_depth for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"snow_depth\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004128", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: qc, lat, lon, depth\n Sensor: sunlight | fields: lat, qc, ts, lon\nTask: Get lon from temperature where reading exceeds the maximum depth from sunlight for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"sunlight\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004129", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: reading, lon, level, type\n Sensor: dew_point | fields: reading, qc, lon, level\nTask: Get reading from evaporation where value exceeds the count of reading from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"dew_point\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004130", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: depth, qc, value, type\n Sensor: frost | fields: lat, level, ts, qc\nTask: Retrieve depth from sunlight whose qc is found in frost records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004131", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: depth, lat, type, lon\n Sensor: air_quality | fields: qc, lon, lat, ts\nTask: Retrieve value from cloud_cover whose type is found in air_quality records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004132", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: qc, unit, depth, lat\n Sensor: lightning | fields: level, ts, unit, type\nTask: Retrieve value from cloud_cover whose unit is found in lightning records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004133", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: reading, type, qc, lat\n Sensor: uv_index | fields: level, qc, lat, value\nTask: Get depth from sunlight where a corresponding entry exists in uv_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004134", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: unit, value, level, lon\n Sensor: drought_index | fields: qc, lon, value, type\nTask: Retrieve depth from lightning whose depth is found in drought_index records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004135", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lon, ts, level, lat\n Sensor: humidity | fields: depth, lon, type, unit\nTask: Retrieve reading from sunlight whose depth is found in humidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004136", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: ts, level, value, qc\n Sensor: humidity | fields: lon, reading, lat, depth\nTask: Get value from rainfall where depth exceeds the maximum value from humidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"humidity\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004137", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: value, depth, ts, qc\n Sensor: dew_point | fields: type, value, unit, lon\nTask: Get value from temperature where a corresponding entry exists in dew_point with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004138", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: depth, level, lat, ts\n Sensor: snow_depth | fields: type, lon, depth, ts\nTask: Fetch value from frost where unit exists in snow_depth sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004139", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lon, qc, value, ts\n Sensor: rainfall | fields: qc, unit, reading, value\nTask: Get level from sunlight where a corresponding entry exists in rainfall with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "level", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004140", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: qc, lat, ts, reading\n Sensor: evaporation | fields: ts, unit, type, value\nTask: Retrieve reading from humidity with depth above the MAX(value) of evaporation readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"evaporation\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004141", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: depth, type, unit, level\n Sensor: drought_index | fields: value, ts, qc, unit\nTask: Fetch value from frost where reading is greater than the average of value in drought_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"drought_index\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004142", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: reading, level, value, lon\n Sensor: soil_moisture | fields: reading, level, value, qc\nTask: Get level from visibility where type appears in soil_moisture readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004143", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: ts, lon, qc, level\n Sensor: uv_index | fields: unit, level, type, lat\nTask: Fetch reading from dew_point where reading is greater than the minimum of depth in uv_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004144", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: type, qc, value, unit\n Sensor: temperature | fields: lat, unit, ts, qc\nTask: Get reading from frost where qc appears in temperature readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004145", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: qc, type, level, lat\n Sensor: air_quality | fields: depth, unit, lon, lat\nTask: Fetch level from dew_point that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "level", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004146", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: type, qc, reading, lat\n Sensor: snow_depth | fields: unit, value, ts, lat\nTask: Fetch reading from temperature that have at least one corresponding snow_depth measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004147", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: type, depth, qc, reading\n Sensor: turbidity | fields: level, reading, ts, unit\nTask: Get level from pressure where a corresponding entry exists in turbidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "level", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004148", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: level, lon, depth, qc\n Sensor: cloud_cover | fields: depth, qc, level, unit\nTask: Retrieve lat from soil_moisture that have at least one matching reading in cloud_cover sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004149", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: lon, ts, unit, qc\n Sensor: visibility | fields: ts, lat, qc, unit\nTask: Get level from evaporation where depth exceeds the total value from visibility for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"visibility\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004150", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: lon, ts, type, level\n Sensor: drought_index | fields: type, level, reading, unit\nTask: Retrieve value from uv_index that have at least one matching reading in drought_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004151", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: type, lon, lat, qc\n Sensor: frost | fields: level, type, lon, unit\nTask: Fetch level from sunlight where ts exists in frost sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004152", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: depth, qc, ts, type\n Sensor: air_quality | fields: depth, lon, ts, reading\nTask: Fetch level from cloud_cover that have at least one corresponding air_quality measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004153", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: qc, reading, depth, ts\n Sensor: humidity | fields: lon, lat, depth, value\nTask: Fetch depth from rainfall that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004154", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: level, lon, ts, type\n Sensor: lightning | fields: lon, qc, depth, reading\nTask: Retrieve value from turbidity that have at least one matching reading in lightning sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "value", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004155", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: lon, depth, ts, lat\n Sensor: uv_index | fields: lat, level, ts, qc\nTask: Get level from soil_moisture where a corresponding entry exists in uv_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "level", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004156", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: lat, lon, reading, qc\n Sensor: uv_index | fields: qc, unit, reading, level\nTask: Retrieve lon from soil_moisture whose ts is found in uv_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004157", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: qc, level, ts, reading\n Sensor: lightning | fields: ts, qc, level, unit\nTask: Fetch value from temperature where ts exists in lightning sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004158", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: unit, type, lon, lat\n Sensor: frost | fields: lon, lat, qc, level\nTask: Get lon from visibility where reading exceeds the minimum reading from frost for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004159", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: value, lat, depth, type\n Sensor: dew_point | fields: ts, qc, level, reading\nTask: Retrieve value from temperature with reading above the AVG(reading) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"dew_point\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004160", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: level, depth, qc, value\n Sensor: lightning | fields: level, value, unit, qc\nTask: Fetch reading from pressure where type exists in lightning sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "type", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004161", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: reading, ts, unit, lon\n Sensor: rainfall | fields: qc, type, reading, ts\nTask: Fetch lat from dew_point where unit exists in rainfall sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004162", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: depth, lat, type, value\n Sensor: humidity | fields: ts, lat, depth, reading\nTask: Retrieve lat from sunlight whose unit is found in humidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004163", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: value, lat, lon, level\n Sensor: soil_moisture | fields: level, value, type, qc\nTask: Retrieve lat from frost that have at least one matching reading in soil_moisture sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lat", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004164", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: ts, type, depth, value\n Sensor: cloud_cover | fields: value, level, qc, ts\nTask: Retrieve reading from dew_point whose ts is found in cloud_cover records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004165", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: unit, lat, value, type\n Sensor: soil_moisture | fields: unit, qc, value, depth\nTask: Retrieve lon from pressure that have at least one matching reading in soil_moisture sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004166", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: unit, lon, depth, level\n Sensor: rainfall | fields: type, unit, depth, qc\nTask: Fetch reading from sunlight where depth exists in rainfall sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004167", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: level, unit, reading, depth\n Sensor: drought_index | fields: level, ts, reading, qc\nTask: Retrieve depth from snow_depth that have at least one matching reading in drought_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004168", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: unit, qc, lon, depth\n Sensor: lightning | fields: depth, lon, reading, ts\nTask: Retrieve lat from pressure whose qc is found in lightning records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004169", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: unit, lon, reading, ts\n Sensor: soil_moisture | fields: type, reading, lon, unit\nTask: Fetch depth from visibility where qc exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004170", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: type, ts, depth, reading\n Sensor: wind_speed | fields: unit, value, ts, lon\nTask: Get level from evaporation where reading exceeds the maximum depth from wind_speed for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"wind_speed\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004171", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: qc, depth, value, reading\n Sensor: humidity | fields: ts, qc, lat, level\nTask: Get level from dew_point where qc appears in humidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004172", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: reading, unit, value, lat\n Sensor: cloud_cover | fields: ts, qc, value, type\nTask: Retrieve depth from humidity whose type is found in cloud_cover records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004173", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: level, unit, lon, type\n Sensor: visibility | fields: type, qc, lat, ts\nTask: Get depth from snow_depth where a corresponding entry exists in visibility with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004174", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: reading, depth, qc, type\n Sensor: evaporation | fields: lat, level, type, lon\nTask: Get lon from turbidity where a corresponding entry exists in evaporation with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004175", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: unit, value, lat, type\n Sensor: cloud_cover | fields: reading, value, unit, ts\nTask: Get lon from visibility where a corresponding entry exists in cloud_cover with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004176", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: reading, unit, type, ts\n Sensor: snow_depth | fields: type, qc, lon, reading\nTask: Get lat from uv_index where a corresponding entry exists in snow_depth with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004177", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: qc, lat, reading, depth\n Sensor: sunlight | fields: depth, reading, type, unit\nTask: Fetch lat from temperature that have at least one corresponding sunlight measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004178", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: ts, qc, lat, level\n Sensor: cloud_cover | fields: depth, reading, value, lon\nTask: Get lon from evaporation where depth exceeds the maximum reading from cloud_cover for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004179", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: type, level, ts, qc\n Sensor: air_quality | fields: unit, reading, value, lon\nTask: Get level from sunlight where depth exceeds the count of reading from air_quality for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"air_quality\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004180", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: reading, ts, level, lon\n Sensor: soil_moisture | fields: depth, unit, lon, reading\nTask: Fetch level from pressure where reading is greater than the total of value in soil_moisture for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004181", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: reading, level, unit, ts\n Sensor: rainfall | fields: qc, lon, ts, type\nTask: Retrieve lon from wind_speed that have at least one matching reading in rainfall sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004182", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lat, lon, reading, level\n Sensor: wind_speed | fields: lon, level, type, unit\nTask: Retrieve lat from visibility with value above the SUM(depth) of wind_speed readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"wind_speed\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004183", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: reading, level, unit, lat\n Sensor: temperature | fields: depth, value, ts, level\nTask: Retrieve reading from rainfall whose qc is found in temperature records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004184", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: value, lat, lon, ts\n Sensor: snow_depth | fields: ts, lon, value, type\nTask: Get depth from cloud_cover where ts appears in snow_depth readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004185", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: unit, lon, value, depth\n Sensor: uv_index | fields: lon, type, lat, value\nTask: Retrieve lon from dew_point with value above the MIN(value) of uv_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"uv_index\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004186", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: reading, depth, level, qc\n Sensor: dew_point | fields: value, level, lon, depth\nTask: Fetch lat from frost where depth is greater than the average of depth in dew_point for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"dew_point\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004187", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: level, value, lat, qc\n Sensor: rainfall | fields: value, type, qc, level\nTask: Fetch depth from uv_index where reading is greater than the count of of value in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"rainfall\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004188", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: lon, level, lat, unit\n Sensor: pressure | fields: lon, ts, unit, depth\nTask: Get value from air_quality where depth appears in pressure readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004189", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: depth, ts, type, reading\n Sensor: rainfall | fields: ts, type, lon, value\nTask: Retrieve lon from evaporation with reading above the SUM(reading) of rainfall readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"rainfall\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004190", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lat, ts, lon, unit\n Sensor: uv_index | fields: lat, qc, level, reading\nTask: Fetch depth from air_quality that have at least one corresponding uv_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004191", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: depth, lon, qc, level\n Sensor: air_quality | fields: ts, lon, type, depth\nTask: Fetch value from temperature where depth exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004192", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lon, lat, reading, level\n Sensor: snow_depth | fields: reading, ts, value, type\nTask: Retrieve lat from evaporation with depth above the COUNT(depth) of snow_depth readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"snow_depth\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004193", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: type, qc, lat, lon\n Sensor: turbidity | fields: lon, qc, ts, value\nTask: Retrieve depth from cloud_cover with value above the MAX(reading) of turbidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"turbidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004194", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: ts, unit, lon, depth\n Sensor: pressure | fields: depth, value, reading, qc\nTask: Retrieve depth from humidity with reading above the COUNT(depth) of pressure readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"pressure\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004195", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: value, level, qc, unit\n Sensor: snow_depth | fields: reading, lat, depth, level\nTask: Retrieve level from sunlight that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004196", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: qc, ts, type, value\n Sensor: cloud_cover | fields: lon, qc, level, value\nTask: Fetch lon from snow_depth that have at least one corresponding cloud_cover measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004197", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: type, depth, ts, reading\n Sensor: uv_index | fields: type, qc, reading, depth\nTask: Get lat from pressure where unit appears in uv_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004198", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: value, type, unit, lat\n Sensor: temperature | fields: unit, value, qc, lat\nTask: Fetch lat from turbidity that have at least one corresponding temperature measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lat", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004199", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lon, depth, level, unit\n Sensor: temperature | fields: ts, value, level, type\nTask: Retrieve value from wind_speed with value above the MAX(value) of temperature readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"temperature\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004200", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: type, unit, lat, value\n Sensor: pressure | fields: value, unit, reading, lat\nTask: Fetch level from evaporation where value is greater than the average of depth in pressure for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"pressure\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004201", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: level, value, depth, qc\n Sensor: uv_index | fields: unit, level, reading, value\nTask: Retrieve lon from wind_speed that have at least one matching reading in uv_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004202", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: reading, unit, lon, lat\n Sensor: cloud_cover | fields: value, unit, ts, reading\nTask: Retrieve reading from humidity with value above the MIN(depth) of cloud_cover readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004203", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lon, lat, ts, level\n Sensor: soil_moisture | fields: type, lon, depth, level\nTask: Fetch value from uv_index where depth is greater than the count of of reading in soil_moisture for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004204", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: type, qc, lon, reading\n Sensor: dew_point | fields: depth, type, lon, qc\nTask: Fetch lon from rainfall that have at least one corresponding dew_point measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004205", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: value, ts, lat, lon\n Sensor: rainfall | fields: ts, reading, unit, lon\nTask: Retrieve value from evaporation whose type is found in rainfall records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004206", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: qc, ts, unit, reading\n Sensor: pressure | fields: lat, unit, qc, reading\nTask: Get level from cloud_cover where a corresponding entry exists in pressure with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004207", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lon, lat, unit, type\n Sensor: evaporation | fields: ts, value, level, lat\nTask: Retrieve reading from pressure with reading above the MIN(value) of evaporation readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"evaporation\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004208", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: value, unit, qc, lon\n Sensor: visibility | fields: depth, reading, level, ts\nTask: Fetch level from uv_index where depth is greater than the maximum of reading in visibility for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004209", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lon, depth, type, ts\n Sensor: uv_index | fields: lon, lat, depth, unit\nTask: Get level from evaporation where unit appears in uv_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004210", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: reading, unit, depth, value\n Sensor: pressure | fields: unit, lon, qc, reading\nTask: Fetch level from drought_index that have at least one corresponding pressure measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004211", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: qc, level, unit, lat\n Sensor: pressure | fields: qc, value, unit, level\nTask: Fetch depth from evaporation where qc exists in pressure sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004212", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: value, lon, type, ts\n Sensor: soil_moisture | fields: level, depth, lon, qc\nTask: Get lat from turbidity where value exceeds the count of reading from soil_moisture for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004213", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lat, value, depth, lon\n Sensor: lightning | fields: lon, reading, depth, unit\nTask: Retrieve lon from sunlight that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004214", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lat, ts, depth, value\n Sensor: humidity | fields: type, depth, ts, lat\nTask: Fetch lon from temperature where depth exists in humidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004215", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: reading, unit, qc, type\n Sensor: dew_point | fields: unit, lat, level, reading\nTask: Get depth from turbidity where depth exceeds the count of value from dew_point for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"dew_point\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004216", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: depth, lon, qc, lat\n Sensor: lightning | fields: qc, depth, lat, ts\nTask: Fetch lon from turbidity that have at least one corresponding lightning measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004217", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: depth, level, type, lon\n Sensor: frost | fields: unit, reading, type, qc\nTask: Fetch reading from air_quality where qc exists in frost sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004218", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: reading, value, qc, type\n Sensor: pressure | fields: level, ts, lat, type\nTask: Fetch depth from lightning where reading is greater than the total of reading in pressure for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"pressure\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004219", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: type, lon, lat, level\n Sensor: soil_moisture | fields: type, qc, reading, value\nTask: Fetch level from temperature that have at least one corresponding soil_moisture measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "level", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004220", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: reading, value, type, lat\n Sensor: snow_depth | fields: value, ts, qc, type\nTask: Get depth from dew_point where qc appears in snow_depth readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004221", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: type, unit, value, level\n Sensor: turbidity | fields: lat, ts, value, type\nTask: Retrieve value from temperature that have at least one matching reading in turbidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004222", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: lon, lat, ts, type\n Sensor: visibility | fields: ts, lat, qc, value\nTask: Get reading from snow_depth where qc appears in visibility readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004223", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: level, ts, qc, type\n Sensor: dew_point | fields: lon, level, unit, ts\nTask: Retrieve lat from pressure whose depth is found in dew_point records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004224", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: ts, type, qc, reading\n Sensor: rainfall | fields: reading, level, type, lon\nTask: Retrieve lat from turbidity that have at least one matching reading in rainfall sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004225", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: reading, lon, value, qc\n Sensor: air_quality | fields: lat, value, depth, ts\nTask: Retrieve value from evaporation whose qc is found in air_quality records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004226", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lon, depth, unit, lat\n Sensor: sunlight | fields: depth, type, qc, unit\nTask: Retrieve reading from uv_index whose type is found in sunlight records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004227", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: value, level, depth, ts\n Sensor: snow_depth | fields: depth, level, qc, ts\nTask: Get level from wind_speed where reading exceeds the minimum depth from snow_depth for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"snow_depth\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004228", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: type, depth, qc, value\n Sensor: humidity | fields: qc, unit, depth, level\nTask: Fetch value from drought_index where depth is greater than the maximum of depth in humidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004229", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: value, type, reading, qc\n Sensor: turbidity | fields: unit, lat, reading, qc\nTask: Fetch reading from evaporation that have at least one corresponding turbidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004230", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: ts, qc, type, value\n Sensor: lightning | fields: unit, level, value, type\nTask: Fetch lat from turbidity where unit exists in lightning sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004231", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: value, depth, level, lat\n Sensor: dew_point | fields: ts, level, reading, qc\nTask: Retrieve reading from evaporation with value above the COUNT(value) of dew_point readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"dew_point\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004232", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: level, unit, lon, qc\n Sensor: rainfall | fields: qc, depth, ts, lat\nTask: Get depth from cloud_cover where a corresponding entry exists in rainfall with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004233", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: level, reading, type, lat\n Sensor: uv_index | fields: level, unit, value, type\nTask: Retrieve value from evaporation that have at least one matching reading in uv_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004234", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: type, lon, qc, level\n Sensor: rainfall | fields: type, depth, lon, value\nTask: Fetch level from humidity where value is greater than the maximum of reading in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"rainfall\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004235", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: reading, lon, value, qc\n Sensor: humidity | fields: value, type, depth, lon\nTask: Fetch lat from rainfall where unit exists in humidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004236", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: level, ts, qc, type\n Sensor: uv_index | fields: type, value, reading, qc\nTask: Get value from sunlight where reading exceeds the count of reading from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"uv_index\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004237", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: unit, ts, type, level\n Sensor: drought_index | fields: unit, qc, value, level\nTask: Retrieve lon from air_quality with reading above the MIN(depth) of drought_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"drought_index\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004238", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lon, lat, unit, qc\n Sensor: temperature | fields: unit, type, lon, value\nTask: Get lat from humidity where a corresponding entry exists in temperature with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004239", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: type, level, reading, depth\n Sensor: temperature | fields: type, qc, lat, lon\nTask: Get lat from pressure where depth exceeds the average value from temperature for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"temperature\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004240", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: lon, level, ts, type\n Sensor: dew_point | fields: depth, ts, unit, value\nTask: Get reading from wind_speed where reading exceeds the average value from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"dew_point\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004241", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: type, lon, qc, depth\n Sensor: frost | fields: value, reading, depth, unit\nTask: Retrieve level from cloud_cover that have at least one matching reading in frost sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "level", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004242", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: ts, depth, unit, lon\n Sensor: rainfall | fields: lon, lat, value, ts\nTask: Retrieve lon from sunlight whose type is found in rainfall records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004243", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: qc, depth, lat, value\n Sensor: temperature | fields: depth, lon, type, value\nTask: Get depth from turbidity where a corresponding entry exists in temperature with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004244", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: level, value, qc, reading\n Sensor: humidity | fields: reading, depth, qc, level\nTask: Retrieve lat from snow_depth whose qc is found in humidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004245", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: lon, depth, type, lat\n Sensor: snow_depth | fields: lon, level, reading, type\nTask: Get lon from uv_index where a corresponding entry exists in snow_depth with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004246", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: value, lat, type, qc\n Sensor: wind_speed | fields: depth, qc, reading, ts\nTask: Retrieve value from dew_point that have at least one matching reading in wind_speed sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004247", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: lat, ts, lon, value\n Sensor: temperature | fields: ts, level, value, reading\nTask: Get lat from evaporation where reading exceeds the count of value from temperature for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"temperature\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004248", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: lon, ts, value, qc\n Sensor: air_quality | fields: qc, reading, ts, depth\nTask: Retrieve value from sunlight with reading above the SUM(reading) of air_quality readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"air_quality\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004249", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lon, type, value, ts\n Sensor: turbidity | fields: type, level, unit, reading\nTask: Retrieve value from temperature whose depth is found in turbidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004250", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: reading, unit, lat, lon\n Sensor: soil_moisture | fields: type, qc, lon, depth\nTask: Get lat from dew_point where a corresponding entry exists in soil_moisture with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lat", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004251", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: level, ts, reading, value\n Sensor: rainfall | fields: lon, ts, depth, reading\nTask: Retrieve level from lightning with value above the MIN(reading) of rainfall readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"rainfall\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004252", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: qc, lat, value, ts\n Sensor: frost | fields: level, depth, qc, ts\nTask: Fetch lat from dew_point where type exists in frost sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004253", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: lat, type, unit, qc\n Sensor: drought_index | fields: value, reading, level, depth\nTask: Get lat from dew_point where a corresponding entry exists in drought_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lat", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004254", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: depth, lon, unit, level\n Sensor: drought_index | fields: unit, ts, value, lon\nTask: Fetch value from air_quality that have at least one corresponding drought_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004255", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: unit, ts, lon, value\n Sensor: lightning | fields: reading, value, ts, depth\nTask: Get lat from drought_index where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004256", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: reading, value, qc, unit\n Sensor: lightning | fields: depth, reading, value, level\nTask: Retrieve value from temperature that have at least one matching reading in lightning sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004257", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: unit, ts, type, level\n Sensor: frost | fields: type, level, depth, ts\nTask: Fetch depth from snow_depth that have at least one corresponding frost measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004258", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: lon, value, lat, reading\n Sensor: pressure | fields: unit, reading, lat, lon\nTask: Get value from cloud_cover where reading exceeds the total depth from pressure for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"pressure\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004259", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: level, unit, lon, qc\n Sensor: soil_moisture | fields: qc, unit, lat, lon\nTask: Retrieve level from uv_index that have at least one matching reading in soil_moisture sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "level", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004260", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: value, unit, level, ts\n Sensor: frost | fields: lat, qc, unit, value\nTask: Retrieve level from uv_index with reading above the AVG(depth) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"frost\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004261", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: type, unit, depth, lon\n Sensor: drought_index | fields: qc, value, ts, lat\nTask: Retrieve depth from cloud_cover with depth above the COUNT(depth) of drought_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004262", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lon, qc, type, unit\n Sensor: lightning | fields: reading, type, qc, level\nTask: Get lat from evaporation where type appears in lightning readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004263", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: depth, reading, level, lat\n Sensor: humidity | fields: value, qc, depth, lon\nTask: Retrieve value from soil_moisture whose unit is found in humidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004264", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: qc, level, lat, reading\n Sensor: turbidity | fields: value, qc, depth, lat\nTask: Fetch lon from temperature where value is greater than the total of value in turbidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"turbidity\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004265", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: lon, lat, type, reading\n Sensor: dew_point | fields: reading, unit, level, depth\nTask: Get value from pressure where a corresponding entry exists in dew_point with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004266", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: lat, qc, depth, reading\n Sensor: pressure | fields: level, value, reading, unit\nTask: Retrieve lat from turbidity whose ts is found in pressure records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004267", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: level, value, reading, depth\n Sensor: dew_point | fields: value, lat, reading, depth\nTask: Fetch lat from lightning where reading is greater than the total of depth in dew_point for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"dew_point\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004268", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: value, reading, qc, level\n Sensor: sunlight | fields: level, unit, qc, reading\nTask: Retrieve depth from uv_index that have at least one matching reading in sunlight sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004269", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: depth, reading, lat, type\n Sensor: temperature | fields: lon, ts, lat, depth\nTask: Fetch lon from sunlight that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004270", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: qc, type, unit, level\n Sensor: turbidity | fields: qc, type, unit, reading\nTask: Get level from drought_index where depth exceeds the maximum reading from turbidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"turbidity\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004271", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: ts, lon, level, lat\n Sensor: uv_index | fields: level, type, ts, unit\nTask: Get depth from temperature where ts appears in uv_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004272", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: depth, ts, lon, qc\n Sensor: cloud_cover | fields: level, depth, lon, type\nTask: Get lon from drought_index where type appears in cloud_cover readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004273", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: ts, reading, type, qc\n Sensor: lightning | fields: ts, value, level, depth\nTask: Get lon from air_quality where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lon", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004274", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: value, lat, type, lon\n Sensor: snow_depth | fields: unit, value, qc, ts\nTask: Get value from lightning where reading exceeds the minimum depth from snow_depth for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"snow_depth\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004275", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: qc, value, level, ts\n Sensor: wind_speed | fields: type, depth, reading, level\nTask: Fetch lon from frost that have at least one corresponding wind_speed measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lon", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004276", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: qc, depth, lat, value\n Sensor: pressure | fields: type, qc, lon, depth\nTask: Get lon from soil_moisture where depth exceeds the total value from pressure for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"pressure\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004277", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: ts, lat, qc, reading\n Sensor: air_quality | fields: ts, type, unit, value\nTask: Get value from lightning where unit appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004278", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: reading, lon, unit, level\n Sensor: cloud_cover | fields: reading, level, lat, lon\nTask: Get reading from lightning where qc appears in cloud_cover readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004279", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: depth, lat, reading, level\n Sensor: cloud_cover | fields: lon, level, qc, lat\nTask: Retrieve level from drought_index whose depth is found in cloud_cover records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004280", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: reading, ts, value, lat\n Sensor: frost | fields: lon, unit, depth, ts\nTask: Retrieve lat from dew_point whose ts is found in frost records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004281", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: unit, reading, ts, lon\n Sensor: temperature | fields: qc, type, lat, depth\nTask: Retrieve depth from lightning whose unit is found in temperature records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004282", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: reading, unit, lat, depth\n Sensor: uv_index | fields: qc, type, unit, lon\nTask: Retrieve depth from frost with depth above the MAX(reading) of uv_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"uv_index\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004283", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: lat, lon, level, unit\n Sensor: cloud_cover | fields: unit, depth, value, type\nTask: Get value from air_quality where a corresponding entry exists in cloud_cover with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004284", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: depth, qc, lat, unit\n Sensor: cloud_cover | fields: type, qc, level, lon\nTask: Get level from dew_point where a corresponding entry exists in cloud_cover with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004285", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: reading, lat, type, ts\n Sensor: wind_speed | fields: depth, unit, value, level\nTask: Get lon from turbidity where a corresponding entry exists in wind_speed with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004286", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: depth, qc, value, lon\n Sensor: uv_index | fields: reading, level, lon, lat\nTask: Get lon from snow_depth where reading exceeds the average value from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"uv_index\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004287", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: reading, ts, lon, lat\n Sensor: evaporation | fields: qc, type, ts, value\nTask: Get value from sunlight where type appears in evaporation readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004288", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: type, value, level, qc\n Sensor: air_quality | fields: value, ts, reading, lon\nTask: Get value from snow_depth where a corresponding entry exists in air_quality with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004289", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: reading, lat, qc, depth\n Sensor: drought_index | fields: lat, value, lon, depth\nTask: Get value from visibility where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004290", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: depth, lat, level, reading\n Sensor: pressure | fields: reading, lat, unit, lon\nTask: Retrieve depth from evaporation whose ts is found in pressure records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004291", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: lat, qc, type, unit\n Sensor: snow_depth | fields: value, ts, type, unit\nTask: Retrieve lon from cloud_cover with depth above the SUM(depth) of snow_depth readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004292", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: reading, unit, lon, level\n Sensor: dew_point | fields: value, ts, qc, lat\nTask: Retrieve value from cloud_cover that have at least one matching reading in dew_point sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004293", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: level, reading, ts, value\n Sensor: rainfall | fields: level, type, unit, reading\nTask: Get level from humidity where type appears in rainfall readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004294", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: value, ts, lat, qc\n Sensor: cloud_cover | fields: unit, ts, lon, reading\nTask: Fetch depth from dew_point where qc exists in cloud_cover sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004295", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: ts, qc, level, reading\n Sensor: frost | fields: ts, level, reading, lat\nTask: Retrieve lat from visibility whose depth is found in frost records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004296", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: type, reading, depth, unit\n Sensor: temperature | fields: lon, lat, level, depth\nTask: Fetch level from soil_moisture where depth is greater than the count of of depth in temperature for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"temperature\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004297", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: reading, lon, lat, depth\n Sensor: visibility | fields: reading, type, unit, qc\nTask: Fetch lat from temperature that have at least one corresponding visibility measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004298", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: ts, depth, level, unit\n Sensor: pressure | fields: ts, type, lon, depth\nTask: Fetch lon from wind_speed where reading is greater than the maximum of reading in pressure for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"pressure\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004299", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: unit, ts, lon, value\n Sensor: turbidity | fields: unit, lat, depth, reading\nTask: Retrieve value from pressure whose ts is found in turbidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004300", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: type, lon, unit, depth\n Sensor: air_quality | fields: qc, depth, type, level\nTask: Retrieve lon from cloud_cover that have at least one matching reading in air_quality sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004301", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: qc, value, reading, type\n Sensor: drought_index | fields: unit, type, depth, value\nTask: Fetch level from visibility where value is greater than the minimum of depth in drought_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"drought_index\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004302", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: depth, type, lat, reading\n Sensor: humidity | fields: unit, depth, lat, type\nTask: Retrieve lat from soil_moisture that have at least one matching reading in humidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004303", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: type, lat, reading, ts\n Sensor: cloud_cover | fields: level, reading, unit, qc\nTask: Retrieve value from snow_depth whose ts is found in cloud_cover records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004304", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: qc, value, type, lon\n Sensor: soil_moisture | fields: type, depth, lat, reading\nTask: Get depth from temperature where reading exceeds the count of depth from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004305", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: lon, value, depth, ts\n Sensor: humidity | fields: unit, value, reading, qc\nTask: Retrieve reading from rainfall that have at least one matching reading in humidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004306", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: value, reading, qc, level\n Sensor: pressure | fields: type, reading, depth, qc\nTask: Get depth from uv_index where ts appears in pressure readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004307", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: depth, level, lat, ts\n Sensor: dew_point | fields: lat, level, qc, lon\nTask: Fetch lon from lightning where value is greater than the average of depth in dew_point for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"dew_point\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004308", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: depth, ts, unit, type\n Sensor: evaporation | fields: value, level, reading, depth\nTask: Get lat from soil_moisture where reading exceeds the average reading from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004309", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: value, lat, depth, unit\n Sensor: snow_depth | fields: value, level, unit, ts\nTask: Get reading from air_quality where depth appears in snow_depth readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004310", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: level, lat, lon, reading\n Sensor: pressure | fields: lon, reading, qc, value\nTask: Retrieve reading from air_quality with depth above the AVG(value) of pressure readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004311", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: unit, lat, type, reading\n Sensor: lightning | fields: lat, value, reading, depth\nTask: Fetch lat from uv_index where unit exists in lightning sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_rand_v1_val_004312", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: depth, unit, type, lat\n Sensor: humidity | fields: qc, depth, lon, reading\nTask: Retrieve reading from sunlight with depth above the MIN(depth) of humidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"humidity\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004313", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: value, type, unit, lat\n Sensor: frost | fields: ts, qc, level, type\nTask: Get lat from evaporation where value exceeds the total value from frost for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"frost\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004314", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: unit, depth, reading, value\n Sensor: humidity | fields: type, reading, lat, unit\nTask: Get reading from visibility where reading exceeds the minimum reading from humidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004315", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: unit, lon, type, qc\n Sensor: temperature | fields: value, type, reading, unit\nTask: Retrieve depth from lightning with value above the AVG(value) of temperature readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"temperature\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004316", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: reading, type, qc, unit\n Sensor: temperature | fields: lat, qc, level, reading\nTask: Fetch reading from soil_moisture where ts exists in temperature sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004317", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lat, lon, value, level\n Sensor: dew_point | fields: level, lat, qc, ts\nTask: Fetch depth from sunlight where type exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004318", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lon, lat, type, reading\n Sensor: sunlight | fields: unit, depth, value, qc\nTask: Get level from pressure where a corresponding entry exists in sunlight with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_rand_v1_val_004319", "split": "val"}